Index: Source/bindings/v8/V8ErrorHandler.cpp |
diff --git a/Source/bindings/v8/V8ErrorHandler.cpp b/Source/bindings/v8/V8ErrorHandler.cpp |
index 81a0bc39b4e9ed25c12419b7f109e8fd0d8aae88..bcded3bbe7350be83a38c159bcb08493099ca57b 100644 |
--- a/Source/bindings/v8/V8ErrorHandler.cpp |
+++ b/Source/bindings/v8/V8ErrorHandler.cpp |
@@ -51,7 +51,7 @@ V8ErrorHandler::V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, v8 |
v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) |
{ |
- if (!event->hasInterface(eventNames().interfaceForErrorEvent)) |
+ if (!event->hasInterface(EventNames::ErrorEvent)) |
return V8EventListener::callListenerFunction(context, jsEvent, event); |
ErrorEvent* errorEvent = static_cast<ErrorEvent*>(event); |