aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 17:35:58 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 17:35:58 +0000
commitfb6deed66c20f86c86c105f41dbbf3f3c4a47e4c (patch)
tree8a92e08e34ac9ee0e51c97ae9ea570bdea8cddbe /src
parent70de4da331b70fed227de795a7464dd6f0f0a8d7 (diff)
make explicit the requirement that all colorfilters are reentrant-safe
BUG= R=mtklein@google.com Review URL: https://codereview.chromium.org/26876002 git-svn-id: http://skia.googlecode.com/svn/trunk@11705 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPicturePlayback.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp
index 04c90cee92..f95c44343d 100644
--- a/src/core/SkPicturePlayback.cpp
+++ b/src/core/SkPicturePlayback.cpp
@@ -150,15 +150,15 @@ static bool needs_deep_copy(const SkPaint& paint) {
/*
* These fields are known to be immutable, and so can be shallow-copied
*
- * getTypeface();
- * getAnnotation();
- * getXfermode();
+ * getTypeface()
+ * getAnnotation()
+ * paint.getColorFilter()
+ * getXfermode()
*/
return paint.getPathEffect() ||
paint.getShader() ||
paint.getMaskFilter() ||
- paint.getColorFilter() ||
paint.getRasterizer() ||
paint.getLooper() ||
paint.getImageFilter();