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

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskRunQueue.h

Issue 1206503003: Oilpan: make custom element microtask dispatching lazy sweep savvy. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: eagerly finalize run queue (and weak ptr) Created 5 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
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
diff --git a/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h b/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
index bcfb1c2539125695bebf9fda2c47e917f9bedd37..2ebdd17872eef115bed426728fd79ed814045e37 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
+++ b/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
@@ -25,6 +25,8 @@ public:
void requestDispatchIfNeeded();
bool isEmpty() const;
+ // Must be promptly finalized to prevent unsafe dispatching.
+ EAGERLY_FINALIZE();
DECLARE_TRACE();
private:
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698