summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/V8WorkerCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings/v8/V8WorkerCustom.cpp')
-rw-r--r--webkit/port/bindings/v8/V8WorkerCustom.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/webkit/port/bindings/v8/V8WorkerCustom.cpp b/webkit/port/bindings/v8/V8WorkerCustom.cpp
index e1a1d23..7426383 100644
--- a/webkit/port/bindings/v8/V8WorkerCustom.cpp
+++ b/webkit/port/bindings/v8/V8WorkerCustom.cpp
@@ -33,14 +33,14 @@
#include "v8_binding.h"
#include "v8_custom.h"
-#include "v8_events.h"
#include "v8_proxy.h"
-#include "V8Document.h"
-#include "V8HTMLDocument.h"
-
#include "ExceptionCode.h"
+#include "Frame.h"
#include "MessagePort.h"
+#include "V8Document.h"
+#include "V8HTMLDocument.h"
+#include "V8ObjectEventListener.h"
#include "Worker.h"
namespace WebCore {
@@ -139,7 +139,7 @@ ACCESSOR_GETTER(WorkerOnmessage) {
if (imp->onmessage()) {
V8ObjectEventListener* listener =
static_cast<V8ObjectEventListener*>(imp->onmessage());
- v8::Local<v8::Object> v8_listener = listener->GetListenerObject();
+ v8::Local<v8::Object> v8_listener = listener->getListenerObject();
return v8_listener;
}
return v8::Undefined();
@@ -153,7 +153,7 @@ ACCESSOR_SETTER(WorkerOnmessage) {
static_cast<V8ObjectEventListener*>(imp->onmessage());
if (value->IsNull()) {
if (old_listener) {
- v8::Local<v8::Object> old_v8_listener = old_listener->GetListenerObject();
+ v8::Local<v8::Object> old_v8_listener = old_listener->getListenerObject();
RemoveHiddenDependency(info.Holder(), old_v8_listener);
}
@@ -170,7 +170,7 @@ ACCESSOR_SETTER(WorkerOnmessage) {
if (listener) {
if (old_listener) {
v8::Local<v8::Object> old_v8_listener =
- old_listener->GetListenerObject();
+ old_listener->getListenerObject();
RemoveHiddenDependency(info.Holder(), old_v8_listener);
}
@@ -187,7 +187,7 @@ ACCESSOR_GETTER(WorkerOnerror) {
if (imp->onerror()) {
V8ObjectEventListener* listener =
static_cast<V8ObjectEventListener*>(imp->onerror());
- v8::Local<v8::Object> v8_listener = listener->GetListenerObject();
+ v8::Local<v8::Object> v8_listener = listener->getListenerObject();
return v8_listener;
}
return v8::Undefined();
@@ -202,7 +202,7 @@ ACCESSOR_SETTER(WorkerOnerror) {
if (value->IsNull()) {
if (old_listener) {
v8::Local<v8::Object> old_v8_listener =
- old_listener->GetListenerObject();
+ old_listener->getListenerObject();
RemoveHiddenDependency(info.Holder(), old_v8_listener);
}
@@ -217,7 +217,7 @@ ACCESSOR_SETTER(WorkerOnerror) {
proxy->FindOrCreateObjectEventListener(value, false);
if (listener) {
if (old_listener) {
- v8::Local<v8::Object> old_v8_listener = old_listener->GetListenerObject();
+ v8::Local<v8::Object> old_v8_listener = old_listener->getListenerObject();
RemoveHiddenDependency(info.Holder(), old_v8_listener);
}