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

Unified Diff: third_party/WebKit/Source/core/dom/MessageChannel.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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/core/dom/MessageChannel.cpp
diff --git a/third_party/WebKit/Source/core/dom/MessageChannel.cpp b/third_party/WebKit/Source/core/dom/MessageChannel.cpp
index c6bde2bb56438a4c116d22f36a714bfe6b5c8638..efcbc1e2509d3cd9944f21c74302e6b490c780de 100644
--- a/third_party/WebKit/Source/core/dom/MessageChannel.cpp
+++ b/third_party/WebKit/Source/core/dom/MessageChannel.cpp
@@ -37,7 +37,8 @@ static void createChannel(MessagePort* port1, MessagePort* port2)
WebMessagePortChannel* channel1;
WebMessagePortChannel* channel2;
Platform::current()->createMessageChannel(&channel1, &channel2);
- ASSERT(channel1 && channel2);
+ DCHECK(channel1);
+ DCHECK(channel2);
// Now entangle the proxies with the appropriate local ports.
port1->entangle(adoptPtr(channel2));
« no previous file with comments | « third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp ('k') | third_party/WebKit/Source/core/dom/MessagePort.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698