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 ab97c8636d71e6b3f1242340001974ba2d750782..95bc4fe37587c7321dab49318a2198069054efb3 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -4602,8 +4602,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; |