Index: cc/layers/layer_perftest.cc |
diff --git a/cc/layers/layer_perftest.cc b/cc/layers/layer_perftest.cc |
index a36f1f098503d86484af9b294226573b4280a447..1c4519a45fb40fe79850ef991f97145ca645d613 100644 |
--- a/cc/layers/layer_perftest.cc |
+++ b/cc/layers/layer_perftest.cc |
@@ -65,7 +65,7 @@ TEST_F(LayerPerfTest, PushPropertiesTo) { |
layer_tree_host_->SetRootLayer(test_layer); |
- float anchor_point_z = 0; |
+ float transform_origin_z = 0; |
bool scrollable = true; |
bool contents_opaque = true; |
bool double_sided = true; |
@@ -76,7 +76,7 @@ TEST_F(LayerPerfTest, PushPropertiesTo) { |
timer_.Reset(); |
do { |
test_layer->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f)); |
- test_layer->SetAnchorPointZ(anchor_point_z); |
+ test_layer->SetTransformOrigin(gfx::Point3F(0.f, 0.f, transform_origin_z)); |
test_layer->SetContentsOpaque(contents_opaque); |
test_layer->SetDoubleSided(double_sided); |
test_layer->SetHideLayerAndSubtree(hide_layer_and_subtree); |
@@ -85,7 +85,7 @@ TEST_F(LayerPerfTest, PushPropertiesTo) { |
: Layer::INVALID_ID); |
test_layer->PushPropertiesTo(impl_layer.get()); |
- anchor_point_z += 0.01f; |
+ transform_origin_z += 0.01f; |
scrollable = !scrollable; |
contents_opaque = !contents_opaque; |
double_sided = !double_sided; |