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

Unified Diff: cc/layers/tiled_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/tiled_layer_impl_unittest.cc
diff --git a/cc/layers/tiled_layer_impl_unittest.cc b/cc/layers/tiled_layer_impl_unittest.cc
index d00fd62f22140bbef4643002910c95d47ba42995..3eb68af1b4e59551ea7b20a74f78af24433e02a8 100644
--- a/cc/layers/tiled_layer_impl_unittest.cc
+++ b/cc/layers/tiled_layer_impl_unittest.cc
@@ -317,7 +317,7 @@ TEST_F(TiledLayerImplTest, Occlusion) {
LayerTestCommon::LayerImplTest impl;
TiledLayerImpl* tiled_layer = impl.AddChildToRoot<TiledLayerImpl>();
- tiled_layer->SetAnchorPoint(gfx::PointF());
+ tiled_layer->SetTransformOrigin(gfx::Point3F());
tiled_layer->SetBounds(layer_bounds);
tiled_layer->SetContentBounds(layer_bounds);
tiled_layer->SetDrawsContent(true);

Powered by Google App Engine
This is Rietveld 408576698