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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: fixed dcheck build error 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/bindings/core/v8/V8EventListener.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
index 508f87e43352ebb0e20c28e5608847c514b65d37..e360b1051f0f89883e618d64e50bcc84b36799de 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
@@ -89,7 +89,7 @@ v8::Local<v8::Value> V8EventListener::CallListenerFunction(
ScriptState* script_state,
v8::Local<v8::Value> js_event,
Event* event) {
- ASSERT(!js_event.IsEmpty());
+ DCHECK(!js_event.IsEmpty());
v8::Local<v8::Function> handler_function = GetListenerFunction(script_state);
v8::Local<v8::Object> receiver = GetReceiverObject(script_state, event);
if (handler_function.IsEmpty() || receiver.IsEmpty())

Powered by Google App Engine
This is Rietveld 408576698