| Index: include/core/SkInstCnt.h
|
| diff --git a/include/core/SkInstCnt.h b/include/core/SkInstCnt.h
|
| index 7e5b454b15d67f4ad7c082a5b2b3af17e1073af5..1839ee1dbdc6720d9c6b0870ea10e52dbe901c7a 100644
|
| --- a/include/core/SkInstCnt.h
|
| +++ b/include/core/SkInstCnt.h
|
| @@ -47,11 +47,11 @@ extern bool gPrintInstCount;
|
| public: \
|
| SkInstanceCountHelper() { \
|
| SK_DECLARE_STATIC_ONCE(once); \
|
| - SkOnce(&once, init, 0); \
|
| + SkOnce(&once, init); \
|
| sk_atomic_inc(GetInstanceCountPtr()); \
|
| } \
|
| \
|
| - static void init(int) { \
|
| + static void init() { \
|
| initStep \
|
| } \
|
| \
|
|
|