Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index bf0a99630d1a982253bd76b98c0b044c2f876973..5fc5842162d45d435a59b3301b1074a1d05594ad 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -738,10 +738,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); |