Index: Source/bindings/v8/custom/V8EventTargetCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8EventTargetCustom.cpp b/Source/bindings/v8/custom/V8EventTargetCustom.cpp |
index 8bfbfb691c9be1f647347ffd8e0a21ec23623419..ab395ab11e2b456b7f0894278acd30aa311135a6 100644 |
--- a/Source/bindings/v8/custom/V8EventTargetCustom.cpp |
+++ b/Source/bindings/v8/custom/V8EventTargetCustom.cpp |
@@ -37,7 +37,7 @@ |
namespace WebCore { |
#define TRY_TO_WRAP_WITH_INTERFACE(interfaceName) \ |
- if (eventNames().interfaceFor##interfaceName == desiredInterface) \ |
+ if (EventTargetNames::interfaceName == desiredInterface) \ |
return toV8(static_cast<interfaceName*>(impl), creationContext, isolate); |
v8::Handle<v8::Value> toV8(EventTarget* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |