summaryrefslogtreecommitdiffstats
path: root/app/gfx/canvas.h
diff options
context:
space:
mode:
authoramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:01:52 +0000
committeramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:01:52 +0000
commit8860e4f513e757810afecfb62a2bd282cd731ed9 (patch)
treea1905994c55ee794c1e4d3e450ba009f8d5f65f1 /app/gfx/canvas.h
parent2d896aedfc2630ee7a7c973e84d69f5099104767 (diff)
downloadchromium_src-8860e4f513e757810afecfb62a2bd282cd731ed9.zip
chromium_src-8860e4f513e757810afecfb62a2bd282cd731ed9.tar.gz
chromium_src-8860e4f513e757810afecfb62a2bd282cd731ed9.tar.bz2
Update WebKit to 45111 and Skia to 239
Review URL: http://codereview.chromium.org/147121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx/canvas.h')
-rwxr-xr-xapp/gfx/canvas.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/gfx/canvas.h b/app/gfx/canvas.h
index 0fe258a..4b5f575 100755
--- a/app/gfx/canvas.h
+++ b/app/gfx/canvas.h
@@ -33,9 +33,9 @@ class Rect;
// SkScalarRound.
//
// A handful of methods in this class are overloaded providing an additional
-// argument of type SkPorterDuff::Mode. SkPorterDuff::Mode specifies how the
+// argument of type SkXfermode::Mode. SkXfermode::Mode specifies how the
// source and destination colors are combined. Unless otherwise specified,
-// the variant that does not take a SkPorterDuff::Mode uses a transfer mode
+// the variant that does not take a SkXfermode::Mode uses a transfer mode
// of kSrcOver_Mode.
class Canvas : public skia::PlatformCanvas {
public:
@@ -99,11 +99,11 @@ class Canvas : public skia::PlatformCanvas {
void FillRectInt(int x, int y, int w, int h, const SkPaint& paint);
// Fills the specified region with the specified color using a transfer
- // mode of SkPorterDuff::kSrcOver_Mode.
+ // mode of SkXfermode::kSrcOver_Mode.
void FillRectInt(const SkColor& color, int x, int y, int w, int h);
// Draws a single pixel rect in the specified region with the specified
- // color, using a transfer mode of SkPorterDuff::kSrcOver_Mode.
+ // color, using a transfer mode of SkXfermode::kSrcOver_Mode.
//
// NOTE: if you need a single pixel line, use DraLineInt.
void DrawRectInt(const SkColor& color, int x, int y, int w, int h);
@@ -113,7 +113,7 @@ class Canvas : public skia::PlatformCanvas {
//
// NOTE: if you need a single pixel line, use DraLineInt.
void DrawRectInt(const SkColor& color, int x, int y, int w, int h,
- SkPorterDuff::Mode mode);
+ SkXfermode::Mode mode);
// Draws a single pixel line with the specified color.
void DrawLineInt(const SkColor& color, int x1, int y1, int x2, int y2);