summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_unittest_damage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/layer_tree_host_unittest_damage.cc')
-rw-r--r--cc/trees/layer_tree_host_unittest_damage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc
index a66b798a..beed63c 100644
--- a/cc/trees/layer_tree_host_unittest_damage.cc
+++ b/cc/trees/layer_tree_host_unittest_damage.cc
@@ -82,7 +82,7 @@ class LayerTreeHostDamageTestNoDamageDoesNotSwap
case 2:
// Cause visible damage.
content_->SetNeedsDisplayRect(
- gfx::Rect(layer_tree_host()->layout_viewport_size()));
+ gfx::Rect(layer_tree_host()->device_viewport_size()));
break;
case 3:
// Cause non-visible damage.