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

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: rebase 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
« no previous file with comments | « chrome/tools/mac_helpers/infoplist_strings_util.mm ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8d1524f821d473d4aaccaec38deb252b7a978afc 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::kScaleFactor100x));
if (!cur_data_pack->Load(resource_pack_path))
continue;
« no previous file with comments | « chrome/tools/mac_helpers/infoplist_strings_util.mm ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698