Index: tests/VarAllocTest.cpp |
diff --git a/tests/VarAllocTest.cpp b/tests/VarAllocTest.cpp |
index d6a288dccefbddb882ec6e50cde20c34d2b74e1c..18e421480d299ddf8397cb6fc020a093d6aa259f 100644 |
--- a/tests/VarAllocTest.cpp |
+++ b/tests/VarAllocTest.cpp |
@@ -2,7 +2,7 @@ |
#include "SkVarAlloc.h" |
DEF_TEST(VarAlloc, r) { |
- SkVarAlloc va; |
+ SkVarAlloc va(4/*start allocating at 16B*/); |
char* p = va.alloc(128, SK_MALLOC_THROW); |
sk_bzero(p, 128); // Just checking this is safe. |