summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 19:17:19 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 19:17:19 +0000
commitd9f286b1927b3151db2df3553411297d721827e9 (patch)
treec63117ebf28b87ce6ab9422e838698d14e4d3544 /webkit/port
parent3bd29d38ab1b03648ba9d3682ddc1d23c5cadad5 (diff)
downloadchromium_src-d9f286b1927b3151db2df3553411297d721827e9.zip
chromium_src-d9f286b1927b3151db2df3553411297d721827e9.tar.gz
chromium_src-d9f286b1927b3151db2df3553411297d721827e9.tar.bz2
Chromium side of webkit merge 42440:42523.
Review URL: http://codereview.chromium.org/73066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index 4b2e545..8bf29b4 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -1042,7 +1042,7 @@ ACCESSOR_SETTER(DOMWindowEventHandler) {
if (value->IsNull()) {
// Clear the event listener
- doc->removeWindowInlineEventListenerForType(event_type);
+ imp->removeInlineEventListenerForType(event_type);
} else {
V8Proxy* proxy = V8Proxy::retrieve(imp->frame());
if (!proxy)
@@ -1051,7 +1051,7 @@ ACCESSOR_SETTER(DOMWindowEventHandler) {
RefPtr<EventListener> listener =
proxy->FindOrCreateV8EventListener(value, true);
if (listener) {
- doc->setWindowInlineEventListenerForType(event_type, listener);
+ imp->setInlineEventListenerForType(event_type, listener);
}
}
}
@@ -1075,7 +1075,7 @@ ACCESSOR_GETTER(DOMWindowEventHandler) {
String key = ToWebCoreString(name);
String event_type = EventNameFromAttributeName(key);
- EventListener* listener = doc->windowInlineEventListenerForType(event_type);
+ EventListener* listener = imp->inlineEventListenerForType(event_type);
return V8Proxy::EventListenerToV8Object(listener);
}