diff options
Diffstat (limited to 'Source/WTF/wtf/RefCountedLeakCounter.cpp')
-rw-r--r-- | Source/WTF/wtf/RefCountedLeakCounter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WTF/wtf/RefCountedLeakCounter.cpp b/Source/WTF/wtf/RefCountedLeakCounter.cpp index 721fa9f43..be8726638 100644 --- a/Source/WTF/wtf/RefCountedLeakCounter.cpp +++ b/Source/WTF/wtf/RefCountedLeakCounter.cpp @@ -39,7 +39,11 @@ void RefCountedLeakCounter::decrement() { } #else #define LOG_CHANNEL_PREFIX Log +#if RELEASE_LOG_DISABLED static WTFLogChannel LogRefCountedLeaks = { WTFLogChannelOn, "RefCountedLeaks" }; +#else +static WTFLogChannel LogRefCountedLeaks = { WTFLogChannelOn, "RefCountedLeaks", LOG_CHANNEL_WEBKIT_SUBSYSTEM, OS_LOG_DEFAULT }; +#endif typedef HashCountedSet<const char*, PtrHash<const char*>> ReasonSet; static ReasonSet* leakMessageSuppressionReasons; |