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

Unified Diff: Source/core/dom/MutationObserver.cpp

Issue 242123005: Allow posting a Task to Microtasks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: changes made 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
« no previous file with comments | « Source/core/dom/Microtask.cpp ('k') | Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MutationObserver.cpp
diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
index 6f4fb9ec0fe39db4359629b189ef4fc822bebdda..2115c45be2a804bb99b466e09fc6f31c458cd325 100644
--- a/Source/core/dom/MutationObserver.cpp
+++ b/Source/core/dom/MutationObserver.cpp
@@ -186,7 +186,7 @@ static MutationObserverSet& suspendedMutationObservers()
static void activateObserver(PassRefPtr<MutationObserver> observer)
{
if (activeMutationObservers().isEmpty())
- Microtask::enqueueMicrotask(&MutationObserver::deliverMutations);
+ Microtask::enqueueMicrotask(WTF::bind(&MutationObserver::deliverMutations));
activeMutationObservers().add(observer);
}
« no previous file with comments | « Source/core/dom/Microtask.cpp ('k') | Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698