Only ship high DPI paks on Window.

This commit is contained in:
Cheng Zhao 2014-07-16 15:49:40 +08:00
parent 8f94d5886d
commit 9afc2daf75
3 changed files with 2 additions and 6 deletions

View file

@ -24,12 +24,14 @@ AtomMainDelegate::~AtomMainDelegate() {
void AtomMainDelegate::AddDataPackFromPath(
ui::ResourceBundle* bundle, const base::FilePath& pak_dir) {
#if defined(OS_WIN)
bundle->AddDataPackFromPath(
pak_dir.Append(FILE_PATH_LITERAL("ui_resources_200_percent.pak")),
ui::SCALE_FACTOR_200P);
bundle->AddDataPackFromPath(
pak_dir.Append(FILE_PATH_LITERAL("webkit_resources_200_percent.pak")),
ui::SCALE_FACTOR_200P);
#endif
}
bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {