Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: src/core/SkImageFilter.cpp

Issue 1054073003: Minimal Changes to run tests on iOS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkImageFilter.cpp
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
index d51d9c8cd9436546e3b7a4f70d5e231889683c47..c3af15e81cb5e0e677df8e8e72299354390531aa 100644
--- a/src/core/SkImageFilter.cpp
+++ b/src/core/SkImageFilter.cpp
@@ -24,7 +24,14 @@
#include "SkGr.h"
#endif
+#ifndef SK_BUILD_FOR_IOS
mtklein 2015/04/09 10:16:35 How about #ifdef SK_BUILD_FOR_IOS enum { kDefau
stephana 2015/04/09 14:28:22 2 is very aggressive IMO, but let's keep it until
enum { kDefaultCacheSize = 128 * 1024 * 1024 };
+#endif
+
+#ifdef SK_BUILD_FOR_IOS
+enum { kDefaultCacheSize = 2 * 1024 * 1024 };
+#endif
+
static int32_t next_image_filter_unique_id() {
static int32_t gImageFilterUniqueID;

Powered by Google App Engine
This is Rietveld 408576698