diff options
author | Derek Sollenberger <djsollen@google.com> | 2018-04-04 11:53:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-04 16:20:48 +0000 |
commit | e1c60d660e2c2d45d18ec8141317b9ea3d8bf1bf (patch) | |
tree | 66a81f210342555bfc8260dff6bda502e3a497ba /src | |
parent | c1267c60516cab68e8c7780280256ca8e8e53ab2 (diff) |
Tag the unique keys of lazy images.
Change-Id: I54175db2aae43d28fd7aff224d57bf6ed9093b1e
Reviewed-on: https://skia-review.googlesource.com/118588
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/image/SkImage_Lazy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImage_Lazy.cpp b/src/image/SkImage_Lazy.cpp index 4c12b81a26..035ddccfb8 100644 --- a/src/image/SkImage_Lazy.cpp +++ b/src/image/SkImage_Lazy.cpp @@ -679,7 +679,7 @@ void SkImage_Lazy::makeCacheKeyFromOrigKey(const GrUniqueKey& origKey, CachedFor SkASSERT(!cacheKey->isValid()); if (origKey.isValid()) { static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); - GrUniqueKey::Builder builder(cacheKey, origKey, kDomain, 1); + GrUniqueKey::Builder builder(cacheKey, origKey, kDomain, 1, "Image"); builder[0] = format; } } |