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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Internals.* Created 5 years 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/dom/shadow/DistributedNodes.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
index f21e9b0af2c4d68b496cfd7378c6727242c7752e..0447413a069443eb1ed2360a6c6e78c205dd748b 100644
--- a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
@@ -40,7 +40,7 @@ void DistributedNodes::swap(DistributedNodes& other)
void DistributedNodes::append(PassRefPtrWillBeRawPtr<Node> node)
{
ASSERT(node);
- ASSERT(!isActiveInsertionPoint(*node));
+ ASSERT(!node->isSlotOrActiveInsertionPoint());
size_t size = m_nodes.size();
m_indices.set(node.get(), size);
m_nodes.append(node);

Powered by Google App Engine
This is Rietveld 408576698