Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index 1e36ebbccb8fbe5b045ca04e1592ab466fbd15de..f601b79e16e7396e7a76ba240211c21fa8863a9b 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -192,7 +192,6 @@ void StyleEngine::addStyleSheetCandidateNode(Node* node) |
return; |
TreeScope& treeScope = isStyleElement(*node) ? node->treeScope() : *m_document; |
- DCHECK(isStyleElement(*node) || treeScope == m_document); |
DCHECK(!isXSLStyleSheet(*node)); |
TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(treeScope); |
DCHECK(collection); |