Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: Source/core/dom/Document.h

Issue 16904002: Avoid leaking objects between isolated worlds via attribute event listeners (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 355ed97a91f1372eefa8b811b069280f4ebad88e..1cca6c66b6769829e9491d426dabc356ba2b7d12 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -701,8 +701,8 @@ public:
DOMWindow* defaultView() const { return domWindow(); }
// Helper functions for forwarding DOMWindow event related tasks to the DOMWindow if it exists.
- void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>);
- EventListener* getWindowAttributeEventListener(const AtomicString& eventType);
+ void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, DOMWrapperWorld* = 0);
+ EventListener* getWindowAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld*);
void dispatchWindowEvent(PassRefPtr<Event>, PassRefPtr<EventTarget> = 0);
PassRefPtr<Event> createEvent(const String& eventType, ExceptionCode&);

Powered by Google App Engine
This is Rietveld 408576698