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

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

Issue 23009004: Process Custom Elements in post-order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 years, 4 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/CustomElementObserver.h ('k') | Source/core/dom/CustomElementRegistrationContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CustomElementObserver.cpp
diff --git a/Source/core/dom/CustomElementObserver.cpp b/Source/core/dom/CustomElementObserver.cpp
index d4a9fba28427bcab561b929bd53811ab4d38c3a7..45f1350d963e005e893db63a25b031643a27da5d 100644
--- a/Source/core/dom/CustomElementObserver.cpp
+++ b/Source/core/dom/CustomElementObserver.cpp
@@ -39,6 +39,14 @@ CustomElementObserver::ElementObserverMap& CustomElementObserver::elementObserve
return map;
}
+void CustomElementObserver::notifyElementDidFinishParsingChildren(Element* element)
+{
+ ElementObserverMap::iterator it = elementObservers().find(element);
+ if (it == elementObservers().end())
+ return;
+ it->value->elementDidFinishParsingChildren(element);
+}
+
void CustomElementObserver::notifyElementWasDestroyed(Element* element)
{
ElementObserverMap::iterator it = elementObservers().find(element);
« no previous file with comments | « Source/core/dom/CustomElementObserver.h ('k') | Source/core/dom/CustomElementRegistrationContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698