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

Unified Diff: Source/WebKit/chromium/src/WebKit.cpp

Issue 14660019: Run Mutation Observer and Custom Element callbacks consistently at microtask checkpoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « no previous file | Source/bindings/v8/V8RecursionScope.cpp » ('j') | Source/core/dom/CustomElementRegistry.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebKit.cpp
diff --git a/Source/WebKit/chromium/src/WebKit.cpp b/Source/WebKit/chromium/src/WebKit.cpp
index f3a7507bb1e080b0193d3153aaa779a78d39361b..38ba7fb39fdac7110f6295bdc5c93a4245af9f31 100644
--- a/Source/WebKit/chromium/src/WebKit.cpp
+++ b/Source/WebKit/chromium/src/WebKit.cpp
@@ -36,8 +36,7 @@
#include "WebWorkerClientImpl.h"
#include "bindings/v8/V8Binding.h"
#include "bindings/v8/V8RecursionScope.h"
-#include "core/dom/CustomElementRegistry.h"
-#include "core/dom/MutationObserver.h"
+#include "core/dom/Microtask.h"
#include "core/page/Frame.h"
#include "core/page/Page.h"
#include "RuntimeEnabledFeatures.h"
@@ -68,8 +67,7 @@ public:
virtual void willProcessTask() { }
virtual void didProcessTask()
{
- WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks();
- WebCore::MutationObserver::deliverAllMutations();
+ WebCore::Microtask::performCheckpoint();
}
};
« no previous file with comments | « no previous file | Source/bindings/v8/V8RecursionScope.cpp » ('j') | Source/core/dom/CustomElementRegistry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698