Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index b696769672bd40d139aba1b5fe413b60ffe382e2..4b21b145123e06c2d5f308353f9a3ce6741d463b 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -750,10 +750,18 @@ void LayerTreeImpl::SetNeedsCommit() { |
layer_tree_host_impl_->SetNeedsCommit(); |
} |
+gfx::Rect LayerTreeImpl::DeviceViewport() const { |
+ return layer_tree_host_impl_->DeviceViewport(); |
+} |
+ |
gfx::Size LayerTreeImpl::DrawViewportSize() const { |
return layer_tree_host_impl_->DrawViewportSize(); |
} |
+const gfx::Rect LayerTreeImpl::ViewportRectForTilePriority() const { |
+ return layer_tree_host_impl_->ViewportRectForTilePriority(); |
+} |
+ |
scoped_ptr<ScrollbarAnimationController> |
LayerTreeImpl::CreateScrollbarAnimationController(LayerImpl* scrolling_layer) { |
DCHECK(settings().scrollbar_fade_delay_ms); |