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

Unified Diff: Source/bindings/core/v8/V8AbstractEventListener.h

Issue 1263953002: Eagerly finalize V8AbstractEventListeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8AbstractEventListener.h
diff --git a/Source/bindings/core/v8/V8AbstractEventListener.h b/Source/bindings/core/v8/V8AbstractEventListener.h
index cd3a4126cfa3a05484029a6beb01eba158a4c0c9..675969bb594261cb69b440d08a0d8432b051fc75 100644
--- a/Source/bindings/core/v8/V8AbstractEventListener.h
+++ b/Source/bindings/core/v8/V8AbstractEventListener.h
@@ -112,6 +112,11 @@ public:
v8::Isolate* isolate() const { return m_isolate; }
DOMWrapperWorld& world() const { return *m_world; }
+ // Oilpan: promptly clear listener wrapper.
+ EAGERLY_FINALIZE();
+#if ENABLE(OILPAN)
+ DECLARE_EAGER_FINALIZATION_OPERATOR_NEW();
+#endif
DEFINE_INLINE_VIRTUAL_TRACE()
{
EventListener::trace(visitor);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698