Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: chrome_frame/simple_resource_loader.cc

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/simple_resource_loader.cc
diff --git a/chrome_frame/simple_resource_loader.cc b/chrome_frame/simple_resource_loader.cc
index 8d1524f821d473d4aaccaec38deb252b7a978afc..72ab076a4ea02a27b4561d1993a8c5f91612fd36 100644
--- a/chrome_frame/simple_resource_loader.cc
+++ b/chrome_frame/simple_resource_loader.cc
@@ -206,7 +206,7 @@ bool SimpleResourceLoader::LoadLocalePack(
if (file_util::PathExists(resource_pack_path) &&
file_util::PathExists(dll_path)) {
scoped_ptr<ui::DataPack> cur_data_pack(
- new ui::DataPack(ui::ResourceHandle::kScaleFactor100x));
+ new ui::DataPack(ui::SCALE_FACTOR_100P));
if (!cur_data_pack->Load(resource_pack_path))
continue;

Powered by Google App Engine
This is Rietveld 408576698