diff options
-rw-r--r-- | skia/ext/vector_canvas_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc index c513050..64a6b2b 100644 --- a/skia/ext/vector_canvas_unittest.cc +++ b/skia/ext/vector_canvas_unittest.cc @@ -382,8 +382,8 @@ class VectorCanvasTest : public ImageTest { pcanvas_ = new PlatformCanvas(size_, size_, false); // Clear white. - vcanvas_->drawARGB(255, 255, 255, 255, SkPorterDuff::kSrc_Mode); - pcanvas_->drawARGB(255, 255, 255, 255, SkPorterDuff::kSrc_Mode); + vcanvas_->drawARGB(255, 255, 255, 255, SkXfermode::kSrc_Mode); + pcanvas_->drawARGB(255, 255, 255, 255, SkXfermode::kSrc_Mode); } // Compares both canvas and returns the pixel difference in percentage between @@ -461,8 +461,8 @@ TEST_F(VectorCanvasTest, BasicDrawing) { // Clear white. { - vcanvas_->drawARGB(255, 255, 255, 255, SkPorterDuff::kSrc_Mode); - pcanvas_->drawARGB(255, 255, 255, 255, SkPorterDuff::kSrc_Mode); + vcanvas_->drawARGB(255, 255, 255, 255, SkXfermode::kSrc_Mode); + pcanvas_->drawARGB(255, 255, 255, 255, SkXfermode::kSrc_Mode); } EXPECT_EQ(0., ProcessImage(L"drawARGB")); |