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

Unified Diff: src/core/SkPicturePlayback.cpp

Issue 25968004: commit to xfermode objects being immutable (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: use SK_DECLARE_STATIC_MUTEX Created 7 years, 2 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
Index: src/core/SkPicturePlayback.cpp
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp
index 13128aac74c0ba96871edb0e39b92530f537213b..04c90cee9277f98add60de4710d79de8babb7f96 100644
--- a/src/core/SkPicturePlayback.cpp
+++ b/src/core/SkPicturePlayback.cpp
@@ -152,11 +152,11 @@ static bool needs_deep_copy(const SkPaint& paint) {
*
* getTypeface();
* getAnnotation();
+ * getXfermode();
*/
return paint.getPathEffect() ||
paint.getShader() ||
- paint.getXfermode() ||
paint.getMaskFilter() ||
paint.getColorFilter() ||
paint.getRasterizer() ||
« bench/XfermodeBench.cpp ('K') | « src/core/SkGraphics.cpp ('k') | src/core/SkXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698