Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index a2d42e02a96a889c7971f03dfb1c39aeff3555cf..1c6e5738baf2645fcb8aee2b5296ca7547d90a58 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -12,6 +12,7 @@ |
#include "SkBigPicture.h" |
#include "SkCanvas.h" |
+#include "SkImageFilterCache.h" |
#include "SkLayerInfo.h" |
#include "SkRecordDraw.h" |
#include "SkSpecialImage.h" |
@@ -296,7 +297,7 @@ void GrLayerHoister::FilterLayer(GrContext* context, |
// This cache is transient, and is freed (along with all its contained |
// textures) when it goes out of scope. |
- SkAutoTUnref<SkImageFilter::Cache> cache(SkImageFilter::Cache::Create(kDefaultCacheSize)); |
+ SkAutoTUnref<SkImageFilterCache> cache(SkImageFilterCache::Create(kDefaultCacheSize)); |
SkImageFilter::Context filterContext(totMat, clipBounds, cache); |
// TODO: should the layer hoister store stand alone layers as SkSpecialImages internally? |