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

Unified Diff: cc/blink/web_layer_impl_fixed_bounds_unittest.cc

Issue 1859733002: cc: Remove usage of Layer draw_transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments Created 4 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 | « no previous file | 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 b99bcb9a99d94da0348f03efa98cd04024813801..884cbdb257d58f2d3e0aefdf38d9928e13eec4bf 100644
--- a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc
+++ b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc
@@ -69,10 +69,10 @@ TEST(WebLayerImplFixedBoundsTest, BoundsScaleSimple) {
void ExpectEqualLayerRectsInTarget(cc::Layer* layer1, cc::Layer* layer2) {
gfx::RectF layer1_rect_in_target(gfx::SizeF(layer1->bounds()));
- layer1->draw_transform().TransformRect(&layer1_rect_in_target);
+ layer1->screen_space_transform().TransformRect(&layer1_rect_in_target);
gfx::RectF layer2_rect_in_target(gfx::SizeF(layer2->bounds()));
- layer2->draw_transform().TransformRect(&layer2_rect_in_target);
+ layer2->screen_space_transform().TransformRect(&layer2_rect_in_target);
EXPECT_FLOAT_RECT_EQ(layer1_rect_in_target, layer2_rect_in_target);
}
« no previous file with comments | « no previous file | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698