Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4172)

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 1802753002: cc: Correctly inherit clip parent's clip in target space (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index 054d3c935d9c44fe1a75961ef63b9fbfc99ce179..92835b77fc258742a22941f3f0b31c6af7569922 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -9324,8 +9324,8 @@ TEST_F(LayerTreeHostCommonTest,
EXPECT_TRUE(test_layer->is_clipped());
EXPECT_FALSE(test_layer->render_target()->render_surface()->is_clipped());
- EXPECT_EQ(gfx::Rect(-2, -2, 28, 28), test_layer->clip_rect());
- EXPECT_EQ(gfx::Rect(26, 26), test_layer->drawable_content_rect());
+ EXPECT_EQ(gfx::Rect(-2, -2, 30, 30), test_layer->clip_rect());
+ EXPECT_EQ(gfx::Rect(28, 28), test_layer->drawable_content_rect());
}
TEST_F(LayerTreeHostCommonTest,
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698