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

Unified Diff: cc/layers/render_surface_impl_unittest.cc

Issue 2254543004: cc : Delete LayerImpl::transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use test properties transform Created 4 years, 4 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/layers/layer_utils_unittest.cc ('k') | cc/test/layer_tree_json_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl_unittest.cc
diff --git a/cc/layers/render_surface_impl_unittest.cc b/cc/layers/render_surface_impl_unittest.cc
index 72e522adfc251d9a584321e413c8b56a45734443..8d0c79ce74ae37e74a07e60be8e9f39236d10ddf 100644
--- a/cc/layers/render_surface_impl_unittest.cc
+++ b/cc/layers/render_surface_impl_unittest.cc
@@ -79,7 +79,7 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) {
gfx::Transform scale;
scale.Scale(2, 2);
- surface->SetTransform(scale);
+ surface->test_properties()->transform = scale;
surface->test_properties()->SetMaskLayer(
FakeMaskLayerImpl::Create(impl.host_impl()->active_tree(), 4));
« no previous file with comments | « cc/layers/layer_utils_unittest.cc ('k') | cc/test/layer_tree_json_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698