Chromium Code Reviews| Index: src/core/SkInstCnt.cpp |
| diff --git a/src/core/SkInstCnt.cpp b/src/core/SkInstCnt.cpp |
| index 2f9a57dc2b63eec52720e93e970f7d7c10626749..a88e27a0ca0152b9a5b3f487d1928595317319d7 100644 |
| --- a/src/core/SkInstCnt.cpp |
| +++ b/src/core/SkInstCnt.cpp |
| @@ -9,4 +9,12 @@ |
| #if SK_ENABLE_INST_COUNT |
| bool gPrintInstCount = false; |
| + |
| +SK_DECLARE_STATIC_MUTEX(gAddInstChildMutex); |
| + |
| +SkBaseMutex& SkGetInstCntAddInstChildMutex() { |
| + return gAddInstChildMutex; |
| +} |
| + |
| #endif |
| + |