summaryrefslogtreecommitdiffstats
path: root/cc/output/software_renderer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/output/software_renderer_unittest.cc')
-rw-r--r--cc/output/software_renderer_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/output/software_renderer_unittest.cc b/cc/output/software_renderer_unittest.cc
index 4f2d605..af4d7d1 100644
--- a/cc/output/software_renderer_unittest.cc
+++ b/cc/output/software_renderer_unittest.cc
@@ -52,6 +52,9 @@ class SoftwareRendererTest : public testing::Test, public RendererClient {
virtual gfx::Size DeviceViewportSize() const OVERRIDE {
return viewport_size_;
}
+ virtual float DeviceScaleFactor() const OVERRIDE {
+ return 1.f;
+ }
virtual const LayerTreeSettings& Settings() const OVERRIDE {
return settings_;
}