Index: src/core/SkVarAlloc.h |
diff --git a/src/core/SkVarAlloc.h b/src/core/SkVarAlloc.h |
index 9eac6588280213d2d7063da547aecf2fa0b370e6..2e8f19c8fe01e6efbdcc16c08331b19da4df6484 100644 |
--- a/src/core/SkVarAlloc.h |
+++ b/src/core/SkVarAlloc.h |
@@ -37,5 +37,6 @@ private: |
struct Block; |
Block* fBlock; |
}; |
+SK_COMPILE_ASSERT(sizeof(SkVarAlloc) <= 24, SkVarAllocSize); |
#endif//SkVarAlloc_DEFINED |