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

Unified Diff: chrome_frame/simple_resource_loader.cc

Issue 10151025: Add scale factor tag to data packs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 8 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 36c5e01a66d980a1e9ebb82801b1bed1c71b9d4a..64d70547415a54d3db30dcd07f308b81f30a7928 100644
--- a/chrome_frame/simple_resource_loader.cc
+++ b/chrome_frame/simple_resource_loader.cc
@@ -205,7 +205,8 @@ 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());
+ scoped_ptr<ui::DataPack> cur_data_pack(
+ new ui::DataPack(ui::ResourceHandle::kScaleFactor1x));
if (!cur_data_pack->Load(resource_pack_path))
continue;

Powered by Google App Engine
This is Rietveld 408576698