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

Unified Diff: cc/layers/nine_patch_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/nine_patch_layer_impl_unittest.cc
diff --git a/cc/layers/nine_patch_layer_impl_unittest.cc b/cc/layers/nine_patch_layer_impl_unittest.cc
index 28d177505ded9749f6b4681e1e3e08a384135787..3d28208e423616451b3ea64498047e3bd41d9973 100644
--- a/cc/layers/nine_patch_layer_impl_unittest.cc
+++ b/cc/layers/nine_patch_layer_impl_unittest.cc
@@ -228,7 +228,7 @@ TEST(NinePatchLayerImplTest, Occlusion) {
NinePatchLayerImpl* nine_patch_layer_impl =
impl.AddChildToRoot<NinePatchLayerImpl>();
- nine_patch_layer_impl->SetAnchorPoint(gfx::PointF());
+ nine_patch_layer_impl->SetTransformOrigin(gfx::Point3F());
nine_patch_layer_impl->SetBounds(layer_size);
nine_patch_layer_impl->SetContentBounds(layer_size);
nine_patch_layer_impl->SetDrawsContent(true);

Powered by Google App Engine
This is Rietveld 408576698