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

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: 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: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index b59e9629ec61c20febe9035601f5e90b2a86bb90..e7b05709878e266691d9b1e659e71fa3ef349b4d 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::kScaleFactor1x) {
FilePath content_resources_pack_path;
PathService::Get(base::DIR_MODULE, &content_resources_pack_path);
content_resources_pack_path = content_resources_pack_path.Append(

Powered by Google App Engine
This is Rietveld 408576698