aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkImageFilterCache.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-01-12 12:06:14 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-12 17:56:13 +0000
commita022e2d834254a4c91f8c87d277d5085192f0852 (patch)
tree8dc38ebc33fab9e134d4293d6f168359da23a58b /src/core/SkImageFilterCache.h
parent89a0e72287e991cfa2f860f92fad545ca59defe1 (diff)
Fix SkImageFilterCache race
BUG=chromium:668937 R=reed@google.com,robertphillips@google.com Change-Id: I72ceaf1d88946c277a38f32014640e01ae9cbded Reviewed-on: https://skia-review.googlesource.com/6954 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkImageFilterCache.h')
-rw-r--r--src/core/SkImageFilterCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkImageFilterCache.h b/src/core/SkImageFilterCache.h
index a65357f69c..8f0d9f10fc 100644
--- a/src/core/SkImageFilterCache.h
+++ b/src/core/SkImageFilterCache.h
@@ -53,7 +53,7 @@ public:
virtual ~SkImageFilterCache() {}
static SkImageFilterCache* Create(size_t maxBytes);
static SkImageFilterCache* Get();
- virtual SkSpecialImage* get(const SkImageFilterCacheKey& key, SkIPoint* offset) const = 0;
+ virtual sk_sp<SkSpecialImage> get(const SkImageFilterCacheKey& key, SkIPoint* offset) const = 0;
virtual void set(const SkImageFilterCacheKey& key, SkSpecialImage* image,
const SkIPoint& offset) = 0;
virtual void purge() = 0;