Index: content/shell/layout_test_controller_bindings.cc |
diff --git a/content/shell/layout_test_controller_bindings.cc b/content/shell/layout_test_controller_bindings.cc |
index 2f3a5ad5c276b084f32b2d978d3f72cb94b4662c..156467ef4be39b525c3ba81c75daa43bf98863e6 100644 |
--- a/content/shell/layout_test_controller_bindings.cc |
+++ b/content/shell/layout_test_controller_bindings.cc |
@@ -11,6 +11,7 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/base/resource/resource_handle.h" |
using WebKit::WebFrame; |
using WebKit::WebView; |
@@ -20,7 +21,8 @@ namespace content { |
namespace { |
base::StringPiece GetStringResource(int resource_id) { |
- return ResourceBundle::GetSharedInstance().GetRawDataResource(resource_id); |
+ return ResourceBundle::GetSharedInstance().GetRawDataResource( |
+ resource_id, ui::ResourceHandle::kScaleFactorNone); |
} |
RenderView* GetCurrentRenderView() { |