Index: include/effects/SkColorCubeFilter.h |
diff --git a/include/effects/SkColorCubeFilter.h b/include/effects/SkColorCubeFilter.h |
index f4a0c9009d09e0e4b6efeaa0f1fc82cfaa9be710..a8a5e329deafe648a51fff239d81149de5b53adf 100644 |
--- a/include/effects/SkColorCubeFilter.h |
+++ b/include/effects/SkColorCubeFilter.h |
@@ -11,6 +11,7 @@ |
#include "SkColorFilter.h" |
#include "SkData.h" |
#include "../private/SkMutex.h" |
+#include "../private/SkTemplates.h" |
class SK_API SkColorCubeFilter : public SkColorFilter { |
public: |
@@ -55,7 +56,7 @@ private: |
SkScalar* fColorToFactors[2]; |
SkScalar* fColorToScalar; |
- SkAutoMalloc fLutStorage; |
+ SkAutoTMalloc<uint8_t> fLutStorage; |
const int fCubeDimension; |