summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-01 06:11:52 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-01 06:11:52 +0000
commit63942f254fe21a93e8a0183e2107ea428f7cd7a1 (patch)
tree7a0299e8b66b6c088337e5cd483bd7701bba3e01 /content
parentc7d2eb3f7ea80d42722e64fe319d090a199d0a04 (diff)
downloadchromium_src-63942f254fe21a93e8a0183e2107ea428f7cd7a1.zip
chromium_src-63942f254fe21a93e8a0183e2107ea428f7cd7a1.tar.gz
chromium_src-63942f254fe21a93e8a0183e2107ea428f7cd7a1.tar.bz2
Add scale factor tag to data packs
This CL sets the image scale factor for data packs. This will be used by the DOM UI code to look up encoded PNG data for images with a specific scale factor. BUG=114311 TEST= Review URL: http://codereview.chromium.org/10151025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134682 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/test/test_content_client.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index b59e962..4f7bce9 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(