Index: cc/test/layer_tree_pixel_test.cc |
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc |
index 3237c1af4dc0477e572a8f934112db06adce7f2a..0e5f50ba9d1a1df479a93c390ac39c6c72cb1bf4 100644 |
--- a/cc/test/layer_tree_pixel_test.cc |
+++ b/cc/test/layer_tree_pixel_test.cc |
@@ -105,7 +105,6 @@ void LayerTreePixelTest::AfterTest() { |
CommandLine* cmd = CommandLine::ForCurrentProcess(); |
if (cmd->HasSwitch(switches::kCCRebaselinePixeltests)) |
EXPECT_TRUE(WritePNGFile(*result_bitmap_, ref_file_path, true)); |
- |
EXPECT_TRUE(MatchesPNGFile(*result_bitmap_, |
ref_file_path, |
*pixel_comparator_)); |
@@ -115,7 +114,6 @@ scoped_refptr<SolidColorLayer> LayerTreePixelTest::CreateSolidColorLayer( |
const gfx::Rect& rect, SkColor color) { |
scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); |
layer->SetIsDrawable(true); |
- layer->SetAnchorPoint(gfx::PointF()); |
layer->SetBounds(rect.size()); |
layer->SetPosition(rect.origin()); |
layer->SetBackgroundColor(color); |
@@ -174,7 +172,6 @@ scoped_refptr<TextureLayer> LayerTreePixelTest::CreateTextureLayer( |
const gfx::Rect& rect, const SkBitmap& bitmap) { |
scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(NULL); |
layer->SetIsDrawable(true); |
- layer->SetAnchorPoint(gfx::PointF()); |
layer->SetBounds(rect.size()); |
layer->SetPosition(rect.origin()); |