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

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

Issue 2816033003: Replace ASSERT with DHCECK_op in platform/heap (Closed)
Patch Set: Replace ASSERT with CHECK_op in platform/heap Created 3 years, 8 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 4bd6f70be5635253d579f11ac92ab343e6d72c07..d2bee3579b916ea76c35f5b74771fcbcd22bbd32 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(!keep_alive_ || keep_alive_.Get() == self);
+ DCHECK(!keep_alive_ || keep_alive_.Get() == self);
keep_alive_ = self;
}

Powered by Google App Engine
This is Rietveld 408576698