Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: app/gfx/canvas.h

Issue 147121: Update WebKit to 45111 and Skia to 239 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | app/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/canvas.h
===================================================================
--- app/gfx/canvas.h (revision 19197)
+++ app/gfx/canvas.h (working copy)
@@ -33,9 +33,9 @@
// 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 @@
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 @@
//
// 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);
« no previous file with comments | « DEPS ('k') | app/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698