Index: src/core/SkVarAlloc.h |
diff --git a/src/core/SkVarAlloc.h b/src/core/SkVarAlloc.h |
index e8236cf9920067864a0261a09a1e70aa3b536dc6..0d0984285b614ad174b7dbceedddbe216db3ee48 100644 |
--- a/src/core/SkVarAlloc.h |
+++ b/src/core/SkVarAlloc.h |
@@ -50,6 +50,6 @@ private: |
struct Block; |
Block* fBlock; |
}; |
-SK_COMPILE_ASSERT(sizeof(SkVarAlloc) <= 32, SkVarAllocSize); |
+static_assert(sizeof(SkVarAlloc) <= 32, "SkVarAllocSize"); |
#endif//SkVarAlloc_DEFINED |