Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp

Issue 1807853003: Deprecate some macros in wtf/Assertions.h in favor of base/logging.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp
diff --git a/third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp b/third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp
index 96a9fb37ffe89bdc0bb59e621acc16d67a587fe1..8f9eee45e393d1962cbacc164185a1ce3cd5e693 100644
--- a/third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp
+++ b/third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp
@@ -37,9 +37,6 @@ void RefCountedLeakCounter::decrement() { }
#else
-#define LOG_CHANNEL_PREFIX Log
-static WTFLogChannel LogRefCountedLeaks = { WTFLogChannelOn };
-
RefCountedLeakCounter::RefCountedLeakCounter(const char* description)
: m_description(description)
{
@@ -50,7 +47,7 @@ RefCountedLeakCounter::~RefCountedLeakCounter()
if (!m_count)
return;
- WTF_LOG(RefCountedLeaks, "LEAK: %u %s", m_count, m_description);
+ VLOG(0) << "LEAK: " << m_count << " " << m_description;
}
void RefCountedLeakCounter::increment()

Powered by Google App Engine
This is Rietveld 408576698