Index: include/core/SkTemplates.h |
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h |
index ac67f92c0c127cf3f375a67b4d8316292dca1524..e49cc47ea96b478d2aa16ded2c5af9527f9087ca 100644 |
--- a/include/core/SkTemplates.h |
+++ b/include/core/SkTemplates.h |
@@ -323,7 +323,7 @@ public: |
/** Resize the memory area pointed to by the current ptr without preserving contents. */ |
void reset(size_t count) { |
sk_free(fPtr); |
- 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 | SK_MALLOC_TEMP); |
} |
T* get() const { return fPtr; } |