diff options
author | scroggo <scroggo@google.com> | 2014-10-15 13:43:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-15 13:43:36 -0700 |
commit | 80a720eb823ac76fdfa254fe9b9f7333a1458e5c (patch) | |
tree | 59f4144a56702dfec62ed19df0a12fa93a1e6c5c /src/core/SkPaintPriv.cpp | |
parent | 3ac569b37a5b4fa5072f4d8ed946f0eea24e9020 (diff) |
Remove unused NeedsDeepCopy.
It was used to check to see if an SkPaint had mutable fields on it.
Now that all the fields are immutable, this function is no longer
used. Remove it.
BUG=skia:2097
Review URL: https://codereview.chromium.org/661543002
Diffstat (limited to 'src/core/SkPaintPriv.cpp')
-rw-r--r-- | src/core/SkPaintPriv.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp index d7b3032227..ce05389019 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(); -} |