Index: cc/trees/layer_tree_host_unittest_scroll.cc |
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc |
index 6d4fb52832f0ec07692485c7af10b5ecb890f6a3..5bb12191634e675161185c4d8d603a0cf74308df 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -453,7 +453,7 @@ class LayerTreeHostScrollTestCaseWithChild : public LayerTreeHostScrollTest { |
root_scroll_layer_->SetBounds(gfx::Size(110, 110)); |
root_scroll_layer_->SetPosition(gfx::Point()); |
- root_scroll_layer_->SetAnchorPoint(gfx::PointF()); |
+ root_scroll_layer_->SetTransformOrigin(gfx::Point3F()); |
root_scroll_layer_->SetIsDrawable(true); |
root_scroll_layer_->SetScrollClipLayerId(root_layer->id()); |
@@ -475,7 +475,7 @@ class LayerTreeHostScrollTestCaseWithChild : public LayerTreeHostScrollTest { |
// Adjust the child layer horizontally so that scrolls will never hit it. |
child_layer_->SetPosition(gfx::Point(60, 5)); |
} |
- child_layer_->SetAnchorPoint(gfx::PointF()); |
+ child_layer_->SetTransformOrigin(gfx::Point3F()); |
child_layer_->SetIsDrawable(true); |
child_layer_->SetScrollClipLayerId(root_layer->id()); |
@@ -1209,7 +1209,7 @@ class LayerTreeHostScrollTestLayerStructureChange |
ContentLayer::Create(&fake_content_layer_client_); |
scroll_layer->SetBounds(gfx::Size(110, 110)); |
scroll_layer->SetPosition(gfx::Point(0, 0)); |
- scroll_layer->SetAnchorPoint(gfx::PointF()); |
+ scroll_layer->SetTransformOrigin(gfx::Point3F()); |
scroll_layer->SetIsDrawable(true); |
scroll_layer->SetScrollClipLayerId(parent->id()); |
scroll_layer->SetBounds(gfx::Size(parent->bounds().width() + 100, |