Index: src/inspector/v8-console.cc |
diff --git a/src/inspector/v8-console.cc b/src/inspector/v8-console.cc |
index 8af6dc7c20f6ee0dbd79183b808366bb7556f3df..0d3c03a4dadce618170ec6dfaa4c5abadd98adc6 100644 |
--- a/src/inspector/v8-console.cc |
+++ b/src/inspector/v8-console.cc |
@@ -279,7 +279,7 @@ void V8Console::Count(const v8::debug::ConsoleCallArguments& info) { |
void V8Console::Assert(const v8::debug::ConsoleCallArguments& info) { |
ConsoleHelper helper(info, m_inspector); |
- if (helper.firstArgToBoolean(false)) return; |
+ DCHECK(!helper.firstArgToBoolean(false)); |
std::vector<v8::Local<v8::Value>> arguments; |
for (int i = 1; i < info.Length(); ++i) arguments.push_back(info[i]); |