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 b2cc8160761dcda3e939f68d976800951d016fce..e327521ce553891fda7b18bb94d75c410ee68a2b 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -4604,8 +4604,8 @@ class TestRenderer : public GLRenderer, public RendererClient { |
} |
// RendererClient implementation. |
- virtual gfx::Size DeviceViewportSize() const OVERRIDE { |
- return viewport_size_; |
+ virtual gfx::Rect DeviceViewport() const OVERRIDE { |
+ return gfx::Rect(viewport_size_); |
} |
virtual float DeviceScaleFactor() const OVERRIDE { |
return 1.f; |