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

Unified Diff: cc/layers/layer_iterator_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/layer_iterator_unittest.cc
diff --git a/cc/layers/layer_iterator_unittest.cc b/cc/layers/layer_iterator_unittest.cc
index 89e504aecd23d74f4031a909cd665cd4be86f4d8..d051f99df1ea88bd8488cc0a2bb58def34caec3a 100644
--- a/cc/layers/layer_iterator_unittest.cc
+++ b/cc/layers/layer_iterator_unittest.cc
@@ -38,7 +38,7 @@ class TestLayer : public Layer {
TestLayer() : Layer(), draws_content_(true) {
SetBounds(gfx::Size(100, 100));
SetPosition(gfx::Point());
- SetAnchorPoint(gfx::Point());
+ SetTransformOrigin(gfx::Point3F());
}
virtual ~TestLayer() {}

Powered by Google App Engine
This is Rietveld 408576698