diff options
author | reed <reed@google.com> | 2014-10-03 13:23:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-03 13:23:31 -0700 |
commit | 37c5a815d8ea33247968212ef4cc83394ceee1bc (patch) | |
tree | 549847a55767b6deea8428b66068e82b43af13c0 /src/core/SkBitmapCache.h | |
parent | 9e96aa07dbf1210fd35ae8e0c54d4d9822544e89 (diff) |
Speculative revert to diagnose crash in chrome. Revert "Add SkCachedData and use it for SkMipMap"
This reverts commit 92561a0b99ad6c08ab7a11dd1872f028199392e9.
crasher in question:
https://code.google.com/p/chromium/issues/detail?id=420178
Review URL: https://codereview.chromium.org/617613003
Diffstat (limited to 'src/core/SkBitmapCache.h')
-rw-r--r-- | src/core/SkBitmapCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h index ec8a6b803e..181c85812a 100644 --- a/src/core/SkBitmapCache.h +++ b/src/core/SkBitmapCache.h @@ -52,8 +52,8 @@ public: class SkMipMapCache { public: - static const SkMipMap* FindAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL); - static const SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL); + static const SkMipMap* FindAndRef(const SkBitmap& src); + static void Add(const SkBitmap& src, const SkMipMap* result); }; #endif |