diff options
Diffstat (limited to 'gpu/include/GrClip.h')
-rw-r--r-- | gpu/include/GrClip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/include/GrClip.h b/gpu/include/GrClip.h index 54082b7..717dfe6 100644 --- a/gpu/include/GrClip.h +++ b/gpu/include/GrClip.h @@ -22,6 +22,7 @@ #include "GrRect.h" #include "GrPath.h" #include "GrTArray.h" +#include "GrTemplates.h" class GrClip { @@ -140,7 +141,7 @@ private: enum { kPreAllocElements = 4, }; - uint8_t fListMemory[sizeof(Element) * kPreAllocElements]; + GrAlignedSTStorage<kPreAllocElements, Element> fListStorage; GrTArray<Element> fList; }; #endif |