| Index: include/core/SkTemplates.h
|
| diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h
|
| index a6248f547f38f8008454dca6160e7a5db9f5438f..5d3fa2d10cd2371c7dcebf2b45552e8922412884 100644
|
| --- a/include/core/SkTemplates.h
|
| +++ b/include/core/SkTemplates.h
|
| @@ -330,7 +330,7 @@ public:
|
|
|
| /** Allocates space for 'count' Ts. */
|
| explicit SkAutoTMalloc(size_t count) {
|
| - fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
|
| + fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW);
|
| }
|
|
|
| ~SkAutoTMalloc() {
|
| @@ -345,7 +345,7 @@ public:
|
| /** Resize the memory area pointed to by the current ptr without preserving contents. */
|
| void reset(size_t count) {
|
| sk_free(fPtr);
|
| - fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
|
| + fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW);
|
| }
|
|
|
| T* get() const { return fPtr; }
|
|
|