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..4c808397eba08bc5737a0381eaa21ef49ff495a3 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_readback.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_readback.cc |
@@ -954,18 +954,15 @@ class LayerTreeHostReadbackDeviceScalePixelTest |
TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
ReadbackSubrect_Software) { |
scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_); |
- background->SetAnchorPoint(gfx::PointF()); |
background->SetBounds(gfx::Size(100, 100)); |
background->SetIsDrawable(true); |
scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_); |
- green->SetAnchorPoint(gfx::PointF()); |
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->SetPosition(gfx::Point(50, 50)); |
blue->SetBounds(gfx::Size(25, 25)); |
blue->SetIsDrawable(true); |
@@ -985,18 +982,15 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
ReadbackSubrect_GL) { |
scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_); |
- background->SetAnchorPoint(gfx::PointF()); |
background->SetBounds(gfx::Size(100, 100)); |
background->SetIsDrawable(true); |
scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_); |
- green->SetAnchorPoint(gfx::PointF()); |
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->SetPosition(gfx::Point(50, 50)); |
blue->SetBounds(gfx::Size(25, 25)); |
blue->SetIsDrawable(true); |
@@ -1016,19 +1010,16 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
ReadbackNonRootLayerSubrect_Software) { |
scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_); |
- background->SetAnchorPoint(gfx::PointF()); |
background->SetBounds(gfx::Size(100, 100)); |
background->SetIsDrawable(true); |
scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_); |
- green->SetAnchorPoint(gfx::PointF()); |
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->SetPosition(gfx::Point(50, 50)); |
blue->SetBounds(gfx::Size(25, 25)); |
blue->SetIsDrawable(true); |
@@ -1049,19 +1040,16 @@ TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
TEST_F(LayerTreeHostReadbackDeviceScalePixelTest, |
ReadbackNonRootLayerSubrect_GL) { |
scoped_refptr<ContentLayer> background = ContentLayer::Create(&white_client_); |
- background->SetAnchorPoint(gfx::PointF()); |
background->SetBounds(gfx::Size(100, 100)); |
background->SetIsDrawable(true); |
scoped_refptr<ContentLayer> green = ContentLayer::Create(&green_client_); |
- green->SetAnchorPoint(gfx::PointF()); |
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->SetPosition(gfx::Point(50, 50)); |
blue->SetBounds(gfx::Size(25, 25)); |
blue->SetIsDrawable(true); |