Index: Source/bindings/core/v8/custom/V8EventCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8EventCustom.cpp b/Source/bindings/core/v8/custom/V8EventCustom.cpp |
index ae799e486f876652be3ea9b061bc644638520848..6b6bfd6654328d846cd515759117fc9608f83b27 100644 |
--- a/Source/bindings/core/v8/custom/V8EventCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8EventCustom.cpp |
@@ -66,12 +66,9 @@ v8::Handle<v8::Object> wrap(Event* event, v8::Handle<v8::Object> creationContext |
if (EventNames::Event == desiredInterface) |
return V8Event::createWrapper(event, creationContext, isolate); |
- EVENT_INTERFACES_FOR_EACH(TRY_TO_WRAP_WITH_INTERFACE) |
+ EVENT_INTERFACES_FOR_EACH(TRY_TO_WRAP_WITH_INTERFACE); |
- v8::Handle<v8::Object> wrapper = ModuleProxy::moduleProxy().wrapForEvent(event, creationContext, isolate); |
- if (!wrapper.IsEmpty()) |
- return wrapper; |
- return V8Event::createWrapper(event, creationContext, isolate); |
+ return ModuleProxy::moduleProxy().wrapForEvent(event, creationContext, isolate); |
} |
} // namespace blink |