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

Unified Diff: Source/core/html/parser/HTMLScriptRunner.cpp

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing flag from features.gypi Created 7 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/html/parser/HTMLScriptRunner.cpp
diff --git a/Source/core/html/parser/HTMLScriptRunner.cpp b/Source/core/html/parser/HTMLScriptRunner.cpp
index 1aab3b520320027747c766dcacd4a65ade473399..3c94f9ffd9f05abc98fd4b4d26427dc23a560fc5 100644
--- a/Source/core/html/parser/HTMLScriptRunner.cpp
+++ b/Source/core/html/parser/HTMLScriptRunner.cpp
@@ -130,9 +130,7 @@ void HTMLScriptRunner::executePendingScriptAndDispatchEvent(PendingScript& pendi
stopWatchingForLoad(pendingScript);
if (!isExecutingScript()) {
-#if ENABLE(CUSTOM_ELEMENTS)
CustomElementRegistry::deliverAllLifecycleCallbacks();
-#endif
MutationObserver::deliverAllMutations();
}
@@ -298,9 +296,7 @@ void HTMLScriptRunner::runScript(Element* script, const TextPosition& scriptStar
// unfortuantely no obvious way to tell if prepareScript is going to
// execute the script from out here.
if (!isExecutingScript()) {
-#if ENABLE(CUSTOM_ELEMENTS)
CustomElementRegistry::deliverAllLifecycleCallbacks();
-#endif
MutationObserver::deliverAllMutations();
}

Powered by Google App Engine
This is Rietveld 408576698