Index: cc/output/renderer.h |
diff --git a/cc/output/renderer.h b/cc/output/renderer.h |
index aaf9fd753ffd109934a30b17dc719e05d6096aac..9a31c071130168f79de59288b22361d8fa3c91d5 100644 |
--- a/cc/output/renderer.h |
+++ b/cc/output/renderer.h |
@@ -20,7 +20,7 @@ class ScopedResource; |
class CC_EXPORT RendererClient { |
public: |
- virtual gfx::Size DeviceViewportSize() const = 0; |
+ virtual gfx::Rect DeviceViewport() const = 0; |
virtual float DeviceScaleFactor() const = 0; |
virtual const LayerTreeSettings& Settings() const = 0; |
virtual void SetFullRootLayerDamage() = 0; |
@@ -44,12 +44,6 @@ class CC_EXPORT Renderer { |
const LayerTreeSettings& Settings() const { return client_->Settings(); } |
- gfx::Size ViewportSize() const { return client_->DeviceViewportSize(); } |
- int ViewportWidth() const { return ViewportSize().width(); } |
- int ViewportHeight() const { return ViewportSize().height(); } |
- |
- float DeviceScaleFactor() const { return client_->DeviceScaleFactor(); } |
- |
virtual void ViewportChanged() {} |
virtual void ReceiveCompositorFrameAck(const CompositorFrameAck& ack) {} |