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

Unified Diff: include/core/SkCanvas.h

Issue 1521673002: In SkPixmap.cpp, change SkAlphaMul to SkMulDiv255. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Make uppercase consistent. Created 5 years 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 | « no previous file | src/core/SkPixmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 33d565c0a186bbcf40df69f1be8b95e4bfb8b4a9..14f0aa5250920aded9f78b9a541e2b2857cd454b 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -613,8 +613,8 @@ public:
* This makes the contents of the canvas undefined. Subsequent calls that
* require reading the canvas contents will produce undefined results. Examples
* include blending and readPixels. The actual implementation is backend-
- * dependent and one legal implementation is to do nothing. Like clear(), this
- * ignores the clip.
+ * dependent and one legal implementation is to do nothing. This method
+ * ignores the current clip.
*
* This function should only be called if the caller intends to subsequently
* draw to the canvas. The canvas may do real work at discard() time in order
@@ -624,7 +624,7 @@ public:
void discard() { this->onDiscard(); }
/**
- * Fill the entire canvas' bitmap (restricted to the current clip) with the
+ * Fill the entire canvas (restricted to the current clip) with the
* specified paint.
* @param paint The paint used to fill the canvas
*/
« no previous file with comments | « no previous file | src/core/SkPixmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698