Index: cc/layers/texture_layer_unittest.cc |
diff --git a/cc/layers/texture_layer_unittest.cc b/cc/layers/texture_layer_unittest.cc |
index c4019c199a5af4002dba827c722a9dce9c046d70..f089a148c1949fe348416ca4842f18e408561e2a 100644 |
--- a/cc/layers/texture_layer_unittest.cc |
+++ b/cc/layers/texture_layer_unittest.cc |
@@ -694,12 +694,12 @@ class TextureLayerImplWithMailboxThreadedCallback : public LayerTreeTest { |
gfx::Size bounds(100, 100); |
root_ = Layer::Create(); |
- root_->SetAnchorPoint(gfx::PointF()); |
+ root_->SetTransformOrigin(gfx::Point3F()); |
root_->SetBounds(bounds); |
layer_ = TextureLayer::CreateForMailbox(NULL); |
layer_->SetIsDrawable(true); |
- layer_->SetAnchorPoint(gfx::PointF()); |
+ layer_->SetTransformOrigin(gfx::Point3F()); |
layer_->SetBounds(bounds); |
root_->AddChild(layer_); |
@@ -819,12 +819,12 @@ class TextureLayerMailboxIsActivatedDuringCommit : public LayerTreeTest { |
virtual void BeginTest() OVERRIDE { |
gfx::Size bounds(100, 100); |
root_ = Layer::Create(); |
- root_->SetAnchorPoint(gfx::PointF()); |
+ root_->SetTransformOrigin(gfx::Point3F()); |
root_->SetBounds(bounds); |
layer_ = TextureLayer::CreateForMailbox(NULL); |
layer_->SetIsDrawable(true); |
- layer_->SetAnchorPoint(gfx::PointF()); |
+ layer_->SetTransformOrigin(gfx::Point3F()); |
layer_->SetBounds(bounds); |
root_->AddChild(layer_); |
@@ -1129,12 +1129,12 @@ class TextureLayerNoExtraCommitForMailboxTest |
virtual void SetupTree() OVERRIDE { |
scoped_refptr<Layer> root = Layer::Create(); |
root->SetBounds(gfx::Size(10, 10)); |
- root->SetAnchorPoint(gfx::PointF()); |
+ root->SetTransformOrigin(gfx::Point3F()); |
root->SetIsDrawable(true); |
texture_layer_ = TextureLayer::CreateForMailbox(this); |
texture_layer_->SetBounds(gfx::Size(10, 10)); |
- texture_layer_->SetAnchorPoint(gfx::PointF()); |
+ texture_layer_->SetTransformOrigin(gfx::Point3F()); |
texture_layer_->SetIsDrawable(true); |
root->AddChild(texture_layer_); |
@@ -1229,7 +1229,7 @@ class TextureLayerChangeInvisibleMailboxTest |
virtual void SetupTree() OVERRIDE { |
scoped_refptr<Layer> root = Layer::Create(); |
root->SetBounds(gfx::Size(10, 10)); |
- root->SetAnchorPoint(gfx::PointF()); |
+ root->SetTransformOrigin(gfx::Point3F()); |
root->SetIsDrawable(true); |
solid_layer_ = SolidColorLayer::Create(); |
@@ -1245,7 +1245,7 @@ class TextureLayerChangeInvisibleMailboxTest |
texture_layer_ = TextureLayer::CreateForMailbox(this); |
texture_layer_->SetBounds(gfx::Size(10, 10)); |
- texture_layer_->SetAnchorPoint(gfx::PointF()); |
+ texture_layer_->SetTransformOrigin(gfx::Point3F()); |
texture_layer_->SetIsDrawable(true); |
parent_layer_->AddChild(texture_layer_); |
@@ -1364,7 +1364,7 @@ class TextureLayerReleaseResourcesBase |
scoped_refptr<TextureLayer> texture_layer = |
TextureLayer::CreateForMailbox(this); |
texture_layer->SetBounds(gfx::Size(10, 10)); |
- texture_layer->SetAnchorPoint(gfx::PointF()); |
+ texture_layer->SetTransformOrigin(gfx::Point3F()); |
texture_layer->SetIsDrawable(true); |
layer_tree_host()->root_layer()->AddChild(texture_layer); |
@@ -1435,12 +1435,12 @@ class TextureLayerWithMailboxMainThreadDeleted : public LayerTreeTest { |
virtual void SetupTree() OVERRIDE { |
gfx::Size bounds(100, 100); |
root_ = Layer::Create(); |
- root_->SetAnchorPoint(gfx::PointF()); |
+ root_->SetTransformOrigin(gfx::Point3F()); |
root_->SetBounds(bounds); |
layer_ = TextureLayer::CreateForMailbox(NULL); |
layer_->SetIsDrawable(true); |
- layer_->SetAnchorPoint(gfx::PointF()); |
+ layer_->SetTransformOrigin(gfx::Point3F()); |
layer_->SetBounds(bounds); |
root_->AddChild(layer_); |
@@ -1508,12 +1508,12 @@ class TextureLayerWithMailboxImplThreadDeleted : public LayerTreeTest { |
virtual void SetupTree() OVERRIDE { |
gfx::Size bounds(100, 100); |
root_ = Layer::Create(); |
- root_->SetAnchorPoint(gfx::PointF()); |
+ root_->SetTransformOrigin(gfx::Point3F()); |
root_->SetBounds(bounds); |
layer_ = TextureLayer::CreateForMailbox(NULL); |
layer_->SetIsDrawable(true); |
- layer_->SetAnchorPoint(gfx::PointF()); |
+ layer_->SetTransformOrigin(gfx::Point3F()); |
layer_->SetBounds(bounds); |
root_->AddChild(layer_); |