Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 187a3ca37a7a1e416f83c0846c421c0ec49f3fe6..e0ee801ecb2e1b49ddb773b50ade27b35ee2aaf6 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -286,7 +286,12 @@ |
} |
// temp buffer for doing sw premul conversion, if needed. |
+#if defined(GOOGLE3) |
+ // Stack frame size is limited in GOOGLE3. |
+ SkAutoSTMalloc<48 * 48, uint32_t> tmpPixels(0); |
+#else |
SkAutoSTMalloc<128 * 128, uint32_t> tmpPixels(0); |
+#endif |
if (tempTexture) { |
SkAutoTUnref<const GrFragmentProcessor> fp; |
SkMatrix textureMatrix; |