summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authoramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:34:12 +0000
committeramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:34:12 +0000
commit6733c68fcff3a44c67f4497c1446ab860dec682f (patch)
tree19261f65242a9e12ccb3ce98b5d749b6e7fd15cd /skia
parentcba2d473d4989be1f9583f58713460dc3fb65995 (diff)
downloadchromium_src-6733c68fcff3a44c67f4497c1446ab860dec682f.zip
chromium_src-6733c68fcff3a44c67f4497c1446ab860dec682f.tar.gz
chromium_src-6733c68fcff3a44c67f4497c1446ab860dec682f.tar.bz2
Update Skia transfer modes for Skia r239
Review URL: http://codereview.chromium.org/146134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/vector_canvas_unittest.cc8
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"));