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

Unified Diff: cc/layers/io_surface_layer_impl_unittest.cc

Issue 295193002: Get rid of graphics layer anchor points, and replace with transform origin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 7 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
Index: cc/layers/io_surface_layer_impl_unittest.cc
diff --git a/cc/layers/io_surface_layer_impl_unittest.cc b/cc/layers/io_surface_layer_impl_unittest.cc
index 9a09bbd75fc4c3fbdb4cab5ae372b0e3de919108..151423b11d4f3c15cdec6b10a0ea94e922d83939 100644
--- a/cc/layers/io_surface_layer_impl_unittest.cc
+++ b/cc/layers/io_surface_layer_impl_unittest.cc
@@ -18,7 +18,7 @@ TEST(IOSurfaceLayerImplTest, Occlusion) {
IOSurfaceLayerImpl* io_surface_layer_impl =
impl.AddChildToRoot<IOSurfaceLayerImpl>();
- io_surface_layer_impl->SetAnchorPoint(gfx::PointF());
+ io_surface_layer_impl->SetTransformOrigin(gfx::Point3F());
enne (OOO) 2014/06/03 22:25:52 I guess this has no transform, so transform origin
chrishtr 2014/06/03 23:14:54 Done.
io_surface_layer_impl->SetBounds(layer_size);
io_surface_layer_impl->SetContentBounds(layer_size);
io_surface_layer_impl->SetDrawsContent(true);

Powered by Google App Engine
This is Rietveld 408576698