Index: cc/test/layer_tree_json_parser.cc |
diff --git a/cc/test/layer_tree_json_parser.cc b/cc/test/layer_tree_json_parser.cc |
index 6e3164ce9e40fb912d831d233980bea3b89c7c4c..ececc9ee48f321f6071396ae794bdc4a0b6176d5 100644 |
--- a/cc/test/layer_tree_json_parser.cc |
+++ b/cc/test/layer_tree_json_parser.cc |
@@ -86,7 +86,7 @@ scoped_refptr<Layer> ParseTreeFromValue(base::Value* val, |
} else { // Type "Layer" or "unknown" |
new_layer = Layer::Create(); |
} |
- new_layer->SetAnchorPoint(gfx::Point()); |
+ new_layer->SetTransformOrigin(gfx::Point3F()); |
new_layer->SetPosition(gfx::PointF(position_x, position_y)); |
new_layer->SetBounds(gfx::Size(width, height)); |
new_layer->SetIsDrawable(draws_content); |