Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 087a761aa9aa7b5372450fefd49ecf2bfca1ce87..0215c0a3057b69a8c508b644a0356bc037a887e2 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -2665,7 +2665,8 @@ class ReshapeTrackerContext: public TestWebGraphicsContext3D { |
public: |
ReshapeTrackerContext() : reshape_called_(false) {} |
- virtual void reshape(int width, int height) OVERRIDE { |
+ virtual void reshapeWithScaleFactor( |
+ int width, int height, float scale_factor) OVERRIDE { |
reshape_called_ = true; |
} |
@@ -4507,6 +4508,9 @@ class TestRenderer : public GLRenderer, 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_; |
} |