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

Unified Diff: third_party/WebKit/Source/platform/heap/SelfKeepAlive.h

Issue 2619493003: Replace ASSERTs in platform/heap/ with DCHECKs
Patch Set: temp Created 3 years, 11 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/platform/heap/SelfKeepAlive.h
diff --git a/third_party/WebKit/Source/platform/heap/SelfKeepAlive.h b/third_party/WebKit/Source/platform/heap/SelfKeepAlive.h
index d3b35adf505ea3ec8d2d01618c68da5aa41093de..e5e1fa25d4338af9eaf14136b1a69a46f9711a97 100644
--- a/third_party/WebKit/Source/platform/heap/SelfKeepAlive.h
+++ b/third_party/WebKit/Source/platform/heap/SelfKeepAlive.h
@@ -61,7 +61,7 @@ class SelfKeepAlive final {
private:
void assign(Self* self) {
- ASSERT(!m_keepAlive || m_keepAlive.get() == self);
+ DCHECK(!m_keepAlive || m_keepAlive.get() == self);
m_keepAlive = self;
}

Powered by Google App Engine
This is Rietveld 408576698