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

Unified Diff: src/core/SkPaintPriv.cpp

Issue 661543002: Remove unused NeedsDeepCopy. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « src/core/SkPaintPriv.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPaintPriv.cpp
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp
index d7b3032227dd94698236876dfb43e767ca3566d6..ce0538901922fde98f8e6e9695a7cdd1fab5caee 100644
--- a/src/core/SkPaintPriv.cpp
+++ b/src/core/SkPaintPriv.cpp
@@ -76,14 +76,3 @@ bool isPaintOpaque(const SkPaint* paint,
}
return false;
}
-
-bool NeedsDeepCopy(const SkPaint& paint) {
- /*
- * The types below are not yet immutable/reentrant-safe, and so we return
- * true if instances of them are present in the paint.
- *
- * Eventually we hope this list will be empty, and we can always return
- * false.
- */
- return paint.getImageFilter();
-}
« no previous file with comments | « src/core/SkPaintPriv.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698