| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index a5bcd2e1bcfd4c3882b61ca5016fb83d540b70d5..109ccdd16baf2b432ca2a7edfc6c68426041945a 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3456,20 +3456,20 @@ void Document::textNodeSplit(Text* oldNode)
|
| // FIXME: This should update markers for spelling and grammar checking.
|
| }
|
|
|
| -void Document::setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener)
|
| +void Document::setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, DOMWrapperWorld* world)
|
| {
|
| DOMWindow* domWindow = this->domWindow();
|
| if (!domWindow)
|
| return;
|
| - domWindow->setAttributeEventListener(eventType, listener);
|
| + domWindow->setAttributeEventListener(eventType, listener, world);
|
| }
|
|
|
| -EventListener* Document::getWindowAttributeEventListener(const AtomicString& eventType)
|
| +EventListener* Document::getWindowAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* world)
|
| {
|
| DOMWindow* domWindow = this->domWindow();
|
| if (!domWindow)
|
| return 0;
|
| - return domWindow->getAttributeEventListener(eventType);
|
| + return domWindow->getAttributeEventListener(eventType, world);
|
| }
|
|
|
| void Document::dispatchWindowEvent(PassRefPtr<Event> event, PassRefPtr<EventTarget> target)
|
|
|