summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-19 14:08:17 +0100
committerAndrei Popescu <andreip@google.com>2009-08-19 14:08:17 +0100
commitb025c93b6adb8f94f5604f6a595b2e67522cb67c (patch)
tree55dec1b0880002720841a34aa55305cc4ad0695e /WebCore/bindings
parent76de9f7763de0e4568056a5a26c93030f21e0b90 (diff)
downloadexternal_webkit-b025c93b6adb8f94f5604f6a595b2e67522cb67c.zip
external_webkit-b025c93b6adb8f94f5604f6a595b2e67522cb67c.tar.gz
external_webkit-b025c93b6adb8f94f5604f6a595b2e67522cb67c.tar.bz2
Revert "Continue with JSC errors."
This reverts commit 76de9f7763de0e4568056a5a26c93030f21e0b90.
Diffstat (limited to 'WebCore/bindings')
-rw-r--r--WebCore/bindings/js/JSDOMWindowCustom.cpp5
-rw-r--r--WebCore/bindings/js/JSEventCustom.cpp2
2 files changed, 2 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSDOMWindowCustom.cpp b/WebCore/bindings/js/JSDOMWindowCustom.cpp
index c8e5db6..44a11e4 100644
--- a/WebCore/bindings/js/JSDOMWindowCustom.cpp
+++ b/WebCore/bindings/js/JSDOMWindowCustom.cpp
@@ -55,6 +55,7 @@
#include "Location.h"
#include "MediaPlayer.h"
#include "MessagePort.h"
+#include "NotificationCenter.h"
#include "Page.h"
#include "PlatformScreen.h"
#include "RegisteredEventListener.h"
@@ -67,10 +68,6 @@
#include <runtime/JSObject.h>
#include <runtime/PrototypeFunction.h>
-#if ENABLE(NOTIFICATIONS)
-#include "NotificationCenter.h"
-#endif
-
using namespace JSC;
namespace WebCore {
diff --git a/WebCore/bindings/js/JSEventCustom.cpp b/WebCore/bindings/js/JSEventCustom.cpp
index 804c529..7f9030e 100644
--- a/WebCore/bindings/js/JSEventCustom.cpp
+++ b/WebCore/bindings/js/JSEventCustom.cpp
@@ -110,7 +110,7 @@ JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event)
#endif
#if ENABLE(TOUCH_EVENTS) // Android
else if (event->isTouchEvent())
- wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event);
+ wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, TouchEvent, event);
#endif
else
wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEvent, event);