Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 46adc2123a9414a43b92a94147ada65814bb21ab..4d1fdd4f62d1daab82690a74dff46085778b9698 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -3724,6 +3724,7 @@ void Document::setCSSTarget(Element* newTarget) |
void Document::registerNodeList(const LiveNodeListBase* list) |
{ |
#if ENABLE(OILPAN) |
+ ASSERT(!m_nodeLists[list->invalidationType()].contains(list)); |
m_nodeLists[list->invalidationType()].add(list); |
#else |
m_nodeListCounts[list->invalidationType()]++; |