Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index d51d9c8cd9436546e3b7a4f70d5e231889683c47..d4eaf65c5fac2ef6582b5ad15a3633e3e05c1e75 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -24,7 +24,11 @@ |
#include "SkGr.h" |
#endif |
-enum { kDefaultCacheSize = 128 * 1024 * 1024 }; |
+#ifdef SK_BUILD_FOR_IOS |
+ enum { kDefaultCacheSize = 2 * 1024 * 1024 }; |
+#else |
+ enum { kDefaultCacheSize = 128 * 1024 * 1024 }; |
+#endif |
static int32_t next_image_filter_unique_id() { |
static int32_t gImageFilterUniqueID; |