summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/gobject/WebKitDOMBinding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/gobject/WebKitDOMBinding.cpp')
-rw-r--r--WebCore/bindings/gobject/WebKitDOMBinding.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bindings/gobject/WebKitDOMBinding.cpp b/WebCore/bindings/gobject/WebKitDOMBinding.cpp
index 1154d6c..3c066e3 100644
--- a/WebCore/bindings/gobject/WebKitDOMBinding.cpp
+++ b/WebCore/bindings/gobject/WebKitDOMBinding.cpp
@@ -32,6 +32,7 @@
#include "UIEvent.h"
#include "WebKitDOMDOMWindowPrivate.h"
#include "WebKitDOMElementPrivate.h"
+#include "WebKitDOMEventPrivate.h"
#include "WebKitDOMNode.h"
#include "WebKitDOMNodePrivate.h"
#include "WebKitHTMLElementWrapperFactory.h"
@@ -140,7 +141,7 @@ gpointer kit(Event* event)
else if (event->isUIEvent())
wrappedEvent = wrapUIEvent(static_cast<UIEvent*>(event));
else
- wrappedEvent = 0;
+ wrappedEvent = wrapEvent(event);
return DOMObjectCache::put(event, wrappedEvent);
}