| 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..67bb291a31b2a06017682fc5da529e3291c2d82c 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,7 @@ 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->SetTransformOrigin(gfx::Point3F());
|
| layer->SetBounds(rect.size());
|
| layer->SetPosition(rect.origin());
|
| layer->SetBackgroundColor(color);
|
| @@ -174,7 +173,7 @@ 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->SetTransformOrigin(gfx::Point3F());
|
| layer->SetBounds(rect.size());
|
| layer->SetPosition(rect.origin());
|
|
|
|
|