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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Only perform weak processing of the event handler registry if the document is active. Created 6 years, 8 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/EventHandlerRegistry.h
diff --git a/Source/core/dom/EventHandlerRegistry.h b/Source/core/dom/EventHandlerRegistry.h
index dde20641c428ccdc74705796c5dd65ab488f28c9..28191b73ed06d48ff07e5a5eba026f7cfd4ea579 100644
--- a/Source/core/dom/EventHandlerRegistry.h
+++ b/Source/core/dom/EventHandlerRegistry.h
@@ -49,6 +49,7 @@ public:
void didRemoveAllEventHandlers(EventTarget&);
virtual void trace(Visitor*) OVERRIDE { }
+ void clearWeakMembers(Visitor*);
private:
explicit EventHandlerRegistry(Document&);

Powered by Google App Engine
This is Rietveld 408576698