Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index ca3ff288ee293a43b49d39bee0f6f97311e6a0cd..3bddfb663409ff6d282b4957bcdd20c175b03c85 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -486,7 +486,7 @@ void Layer::SwitchToLayer(scoped_refptr<cc::Layer> new_layer) { |
cc_layer_->AddChild(children_[i]->cc_layer_); |
} |
cc_layer_->SetLayerClient(this); |
- cc_layer_->SetAnchorPoint(gfx::PointF()); |
+ cc_layer_->SetTransformOrigin(gfx::Point3F()); |
cc_layer_->SetContentsOpaque(fills_bounds_opaquely_); |
cc_layer_->SetForceRenderSurface(force_render_surface_); |
cc_layer_->SetIsDrawable(type_ != LAYER_NOT_DRAWN); |
@@ -897,7 +897,7 @@ void Layer::CreateWebLayer() { |
content_layer_ = cc::ContentLayer::Create(this); |
cc_layer_ = content_layer_.get(); |
} |
- cc_layer_->SetAnchorPoint(gfx::PointF()); |
+ cc_layer_->SetTransformOrigin(gfx::Point3F()); |
cc_layer_->SetContentsOpaque(true); |
cc_layer_->SetIsDrawable(type_ != LAYER_NOT_DRAWN); |
cc_layer_->AddLayerAnimationEventObserver(this); |