summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_impl_unittest.cc
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-06-18 17:10:43 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-19 00:11:03 +0000
commit64767d90be693c7e98efd1a0794bb567b46262ec (patch)
tree6b8685977805702e4806fc95746c4d509dcd0b43 /cc/trees/layer_tree_impl_unittest.cc
parentf468166ed6757854d10fa3288476d881c947a7c4 (diff)
downloadchromium_src-64767d90be693c7e98efd1a0794bb567b46262ec.zip
chromium_src-64767d90be693c7e98efd1a0794bb567b46262ec.tar.gz
chromium_src-64767d90be693c7e98efd1a0794bb567b46262ec.tar.bz2
cc: Rename visible_content_rect and content stuff on quads.
This renames visible_content_rect to visible_layer_rect. And for SharedQuadState renames the transforms and rects to no longer refer to "content" and instead refer to the space the the DrawQuad rects. R=enne, vmpstr TBR=dcheng BUG=413479 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1175113010 Cr-Commit-Position: refs/heads/master@{#335172}
Diffstat (limited to 'cc/trees/layer_tree_impl_unittest.cc')
-rw-r--r--cc/trees/layer_tree_impl_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc
index 4811893..81a566f 100644
--- a/cc/trees/layer_tree_impl_unittest.cc
+++ b/cc/trees/layer_tree_impl_unittest.cc
@@ -1470,8 +1470,7 @@ TEST_F(LayerTreeImplTest,
ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
// Check whether the child layer fits into the root after scaled.
- EXPECT_EQ(gfx::Rect(test_layer->bounds()),
- test_layer->visible_content_rect());
+ EXPECT_EQ(gfx::Rect(test_layer->bounds()), test_layer->visible_layer_rect());
// Hit checking for a point outside the layer should return a null pointer
// (the root layer does not draw content, so it will not be tested either).