summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/layer_tree_impl.cc')
-rw-r--r--cc/trees/layer_tree_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 6bc370c..e8ae6f1 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -282,7 +282,8 @@ void LayerTreeImpl::UpdateDrawProperties() {
IsActiveTree());
LayerTreeHostCommon::CalculateDrawProperties(
root_layer(),
- device_viewport_size(),
+ layer_tree_host_impl_->DeviceViewport().size(),
+ layer_tree_host_impl_->DeviceTransform(),
device_scale_factor(),
total_page_scale_factor(),
root_scroll_layer_,