| Index: src/core/SkBitmapDevice.cpp
|
| diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
|
| index 09b3b605f85a3e4b36a28e77d88a75135abfae3b..3e86b065ab0da51f2fba7211e5c5159d1ee890b0 100644
|
| --- a/src/core/SkBitmapDevice.cpp
|
| +++ b/src/core/SkBitmapDevice.cpp
|
| @@ -367,6 +367,12 @@ const void* SkBitmapDevice::peekPixels(SkImageInfo* info, size_t* rowBytes) {
|
| return NULL;
|
| }
|
|
|
| +SkImageFilter::GenIDCache* SkBitmapDevice::getImageFilterCache() {
|
| + SkImageFilter::GenIDCache* cache = SkImageFilter::GenIDCache::Get();
|
| + cache->ref();
|
| + return cache;
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| bool SkBitmapDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) {
|
|
|