| Index: cc/trees/layer_tree_host_pixeltest_readback.cc
|
| diff --git a/cc/trees/layer_tree_host_pixeltest_readback.cc b/cc/trees/layer_tree_host_pixeltest_readback.cc
|
| index 2377da80f1a1537f23cbaf9be4ebfdbe5d2c82b6..34064ac691820cc1fc8fc6b00b6625a0c19a181a 100644
|
| --- a/cc/trees/layer_tree_host_pixeltest_readback.cc
|
| +++ b/cc/trees/layer_tree_host_pixeltest_readback.cc
|
| @@ -954,18 +954,18 @@ class LayerTreeHostReadbackDeviceScalePixelTest
|
| TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| ReadbackSubrect_Software) {
|
| scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_);
|
| - background->SetAnchorPoint(gfx::PointF());
|
| + background->SetTransformOrigin(gfx::Point3F());
|
| background->SetBounds(gfx::Size(100, 100));
|
| background->SetIsDrawable(true);
|
|
|
| scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_);
|
| - green->SetAnchorPoint(gfx::PointF());
|
| + green->SetTransformOrigin(gfx::Point3F());
|
| green->SetBounds(gfx::Size(100, 100));
|
| green->SetIsDrawable(true);
|
| background->AddChild(green);
|
|
|
| scoped_refptr<ContentLayer> blue = ContentLayer::Create(&blue_client_);
|
| - blue->SetAnchorPoint(gfx::PointF());
|
| + blue->SetTransformOrigin(gfx::Point3F());
|
| blue->SetPosition(gfx::Point(50, 50));
|
| blue->SetBounds(gfx::Size(25, 25));
|
| blue->SetIsDrawable(true);
|
| @@ -985,18 +985,18 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| ReadbackSubrect_GL) {
|
| scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_);
|
| - background->SetAnchorPoint(gfx::PointF());
|
| + background->SetTransformOrigin(gfx::Point3F());
|
| background->SetBounds(gfx::Size(100, 100));
|
| background->SetIsDrawable(true);
|
|
|
| scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_);
|
| - green->SetAnchorPoint(gfx::PointF());
|
| + green->SetTransformOrigin(gfx::Point3F());
|
| green->SetBounds(gfx::Size(100, 100));
|
| green->SetIsDrawable(true);
|
| background->AddChild(green);
|
|
|
| scoped_refptr<ContentLayer> blue = ContentLayer::Create(&blue_client_);
|
| - blue->SetAnchorPoint(gfx::PointF());
|
| + blue->SetTransformOrigin(gfx::Point3F());
|
| blue->SetPosition(gfx::Point(50, 50));
|
| blue->SetBounds(gfx::Size(25, 25));
|
| blue->SetIsDrawable(true);
|
| @@ -1016,19 +1016,19 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| ReadbackNonRootLayerSubrect_Software) {
|
| scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_);
|
| - background->SetAnchorPoint(gfx::PointF());
|
| + background->SetTransformOrigin(gfx::Point3F());
|
| background->SetBounds(gfx::Size(100, 100));
|
| background->SetIsDrawable(true);
|
|
|
| scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_);
|
| - green->SetAnchorPoint(gfx::PointF());
|
| + green->SetTransformOrigin(gfx::Point3F());
|
| green->SetPosition(gfx::Point(10, 20));
|
| green->SetBounds(gfx::Size(90, 80));
|
| green->SetIsDrawable(true);
|
| background->AddChild(green);
|
|
|
| scoped_refptr<ContentLayer> blue = ContentLayer::Create(&blue_client_);
|
| - blue->SetAnchorPoint(gfx::PointF());
|
| + blue->SetTransformOrigin(gfx::Point3F());
|
| blue->SetPosition(gfx::Point(50, 50));
|
| blue->SetBounds(gfx::Size(25, 25));
|
| blue->SetIsDrawable(true);
|
| @@ -1049,19 +1049,19 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| TEST_F(LayerTreeHostReadbackDeviceScalePixelTest,
|
| ReadbackNonRootLayerSubrect_GL) {
|
| scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_);
|
| - background->SetAnchorPoint(gfx::PointF());
|
| + background->SetTransformOrigin(gfx::Point3F());
|
| background->SetBounds(gfx::Size(100, 100));
|
| background->SetIsDrawable(true);
|
|
|
| scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_);
|
| - green->SetAnchorPoint(gfx::PointF());
|
| + green->SetTransformOrigin(gfx::Point3F());
|
| green->SetPosition(gfx::Point(10, 20));
|
| green->SetBounds(gfx::Size(90, 80));
|
| green->SetIsDrawable(true);
|
| background->AddChild(green);
|
|
|
| scoped_refptr<ContentLayer> blue = ContentLayer::Create(&blue_client_);
|
| - blue->SetAnchorPoint(gfx::PointF());
|
| + blue->SetTransformOrigin(gfx::Point3F());
|
| blue->SetPosition(gfx::Point(50, 50));
|
| blue->SetBounds(gfx::Size(25, 25));
|
| blue->SetIsDrawable(true);
|
|
|