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

Unified Diff: content/test/test_content_client.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_frame/simple_resource_loader.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index b59e9629ec61c20febe9035601f5e90b2a86bb90..4f7bce994ca3014ff4f33c85f4017a8172de6d3c 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -10,7 +10,8 @@
#include "base/path_service.h"
#include "base/string_piece.h"
-TestContentClient::TestContentClient() {
+TestContentClient::TestContentClient()
+ : data_pack_(ui::ResourceHandle::kScaleFactor100x) {
FilePath content_resources_pack_path;
PathService::Get(base::DIR_MODULE, &content_resources_pack_path);
content_resources_pack_path = content_resources_pack_path.Append(
« no previous file with comments | « chrome_frame/simple_resource_loader.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698