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

Unified Diff: cc/trees/layer_tree_host_unittest_occlusion.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/trees/layer_tree_host_unittest_occlusion.cc
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc
index 352b5cf04134c8a74936cd0b156f84772be81b99..36ab91393bc1782f4873bd1df1d09efb9638ec73 100644
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc
@@ -96,7 +96,7 @@ class LayerTreeHostOcclusionTest : public LayerTreeTest {
layer->SetBounds(bounds);
layer->SetContentsOpaque(opaque);
- layer->SetAnchorPoint(gfx::PointF());
+ layer->SetTransformOrigin(gfx::Point3F());
}
protected:

Powered by Google App Engine
This is Rietveld 408576698