Index: cc/test/pixel_test.cc |
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc |
index 0885c76bf77ed565142eec5500cc3ff5f7cdfbd8..45ecfd069148d6dfc6ce00061295092688944b5c 100644 |
--- a/cc/test/pixel_test.cc |
+++ b/cc/test/pixel_test.cc |
@@ -27,8 +27,8 @@ class PixelTest::PixelTestRendererClient : public RendererClient { |
: device_viewport_size_(device_viewport_size) {} |
// RendererClient implementation. |
- virtual gfx::Size DeviceViewportSize() const OVERRIDE { |
- return device_viewport_size_; |
+ virtual gfx::Rect DeviceViewport() const OVERRIDE { |
+ return gfx::Rect(device_viewport_size_); |
} |
virtual float DeviceScaleFactor() const OVERRIDE { |
return 1.f; |