Index: src/ports/SkFontMgr_fontconfig.cpp |
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp |
index 3486cacb51456d779f100479ba56aefd66e7a352..b54835d1be68d07e73e11d5531509d47c217b206 100644 |
--- a/src/ports/SkFontMgr_fontconfig.cpp |
+++ b/src/ports/SkFontMgr_fontconfig.cpp |
@@ -57,7 +57,7 @@ namespace { |
SK_DECLARE_STATIC_MUTEX(gFCMutex); |
#ifdef SK_DEBUG |
- void *CreateThreadFcLocked() { return SkNEW(bool); } |
+ void *CreateThreadFcLocked() { return SkNEW_ARGS(bool, (false)); } |
void DeleteThreadFcLocked(void* v) { SkDELETE(static_cast<bool*>(v)); } |
# define THREAD_FC_LOCKED \ |
static_cast<bool*>(SkTLS::Get(CreateThreadFcLocked, DeleteThreadFcLocked)) |