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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.cpp

Issue 2347963002: [DevTools] Show distribution for Shadow DOM V1. (Closed)
Patch Set: getDistributedNodes -> iteration Created 4 years, 3 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: third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
index 670f3fe39413bcc268ea6467c16628e6b1adf8ff..51dd142e6540d68c6b1f7e9dea538d7a35291339 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
@@ -40,6 +40,7 @@
#include "core/dom/shadow/SlotAssignment.h"
#include "core/events/Event.h"
#include "core/html/AssignedNodesOptions.h"
+#include "core/inspector/InspectorInstrumentation.h"
namespace blink {
@@ -306,6 +307,7 @@ void HTMLSlotElement::lazyReattachDistributedNodesIfNeeded()
node->lazyReattachIfAttached();
for (auto& node : m_distributedNodes)
node->lazyReattachIfAttached();
+ InspectorInstrumentation::didPerformSlotDistribution(this);
}
m_oldDistributedNodes.clear();
}

Powered by Google App Engine
This is Rietveld 408576698