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

Unified Diff: cc/blink/web_layer_impl_fixed_bounds_unittest.cc

Issue 2808413002: Rename Layer::screen_space_transform to Layer::ScreenSpaceTransform (Closed)
Patch Set: Created 3 years, 8 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/benchmarks/invalidation_benchmark.cc ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl_fixed_bounds_unittest.cc
diff --git a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc
index 20993b3a8c0d6855a3226175997bc0f28d0e277f..3dd88c1baa004970e4e026de722181fa3f14400c 100644
--- a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc
+++ b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc
@@ -70,10 +70,10 @@ TEST(WebLayerImplFixedBoundsTest, BoundsScaleSimple) {
void ExpectEqualLayerRectsInTarget(cc::Layer* layer1, cc::Layer* layer2) {
gfx::RectF layer1_rect_in_target(gfx::SizeF(layer1->bounds()));
- layer1->screen_space_transform().TransformRect(&layer1_rect_in_target);
+ layer1->ScreenSpaceTransform().TransformRect(&layer1_rect_in_target);
gfx::RectF layer2_rect_in_target(gfx::SizeF(layer2->bounds()));
- layer2->screen_space_transform().TransformRect(&layer2_rect_in_target);
+ layer2->ScreenSpaceTransform().TransformRect(&layer2_rect_in_target);
EXPECT_FLOAT_RECT_EQ(layer1_rect_in_target, layer2_rect_in_target);
}
« no previous file with comments | « cc/benchmarks/invalidation_benchmark.cc ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698