Chromium Code Reviews| Index: src/gpu/gl/GrGLGpu.cpp |
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
| index 3b7ccd32417718a14367399125d5247981f84978..57ba078b0452a692c47bc0585f5328f30ed12403 100644 |
| --- a/src/gpu/gl/GrGLGpu.cpp |
| +++ b/src/gpu/gl/GrGLGpu.cpp |
| @@ -5,6 +5,7 @@ |
| * found in the LICENSE file. |
| */ |
| +#include <functional> |
|
mtklein
2016/02/04 19:16:05
// TODO: wtf?
We still don't think this explains
dogben
2016/02/04 19:23:39
There is an implicit conversion from lambda to std
mtklein
2016/02/04 19:48:30
Ah! What's the path for getting <functional> incl
|
| #include "GrGLGpu.h" |
| #include "GrGLGLSL.h" |
| @@ -857,12 +858,7 @@ bool GrGLGpu::uploadTexData(const GrSurfaceDesc& desc, |
| size_t trimRowBytes = width * bpp; |
| // in case we need a temporary, trimmed copy of the src pixels |
| -#if defined(GOOGLE3) |
| - // Stack frame size is limited in GOOGLE3. |
| - SkAutoSMalloc<64 * 128> tempStorage; |
| -#else |
| SkAutoSMalloc<128 * 128> tempStorage; |
| -#endif |
| // Internal format comes from the texture desc. |
| GrGLenum internalFormat; |