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

Unified Diff: Source/core/frame/DOMWindow.h

Issue 292503006: Oilpan: add [WillBeGarbageCollected] for Node. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up removeAllEventListeners() usage from DOMWindow dtor Created 6 years, 7 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/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index 4c065e403e66c37169e58cc8bcf05ba79b4c54c8..64bbf678cec1bb403ca1093ca2ae0e4c729c1508 100644
--- a/Source/core/frame/DOMWindow.h
+++ b/Source/core/frame/DOMWindow.h
@@ -343,7 +343,14 @@ enum PageshowEventPersistence {
void resetDOMWindowProperties();
void willDestroyDocumentInFrame();
- RefPtr<Document> m_document;
+ enum BroadcastListenerRemoval {
haraken 2014/05/23 20:53:58 Shall we add a FIXME to remove this? Once we move
sof 2014/05/24 06:53:11 Done.
+ DoNotBroadcastListenerRemoval,
+ DoBroadcastListenerRemoval
+ };
+
+ void removeAllEventListeners(BroadcastListenerRemoval);
haraken 2014/05/23 20:53:58 It's a bit confusing to have the overridden versio
sof 2014/05/24 06:53:11 Done.
+
+ RefPtrWillBeMember<Document> m_document;
bool m_shouldPrintWhenFinishedLoading;
#if ASSERT_ENABLED

Powered by Google App Engine
This is Rietveld 408576698