From 63942f254fe21a93e8a0183e2107ea428f7cd7a1 Mon Sep 17 00:00:00 2001 From: "sail@chromium.org" Date: Tue, 1 May 2012 06:11:52 +0000 Subject: 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 --- webkit/support/platform_support_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/support') diff --git a/webkit/support/platform_support_mac.mm b/webkit/support/platform_support_mac.mm index 88a32a3..487d521 100644 --- a/webkit/support/platform_support_mac.mm +++ b/webkit/support/platform_support_mac.mm @@ -103,7 +103,7 @@ void AfterInitialize(bool unit_test_mode) { return; // We don't have a resource pack when running the unit-tests. // Load a data pack. - g_resource_data_pack = new ui::DataPack; + g_resource_data_pack = new ui::DataPack(ui::ResourceHandle::kScaleFactor100x); NSString* resource_path = [base::mac::FrameworkBundle() pathForResource:@"DumpRenderTree" ofType:@"pak"]; -- cgit v1.1