Index: third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp |
diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp |
index bff1dcfa96a371191a45124b4f72ece1ac34564c..8600f7773cf3b11aa8b994cf5d819644ce31eddf 100644 |
--- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp |
+++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp |
@@ -112,8 +112,7 @@ static Document* oldDocumentDidMoveToNewDocumentWasCalledWith = 0; |
void TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled( |
Document& oldDocument) { |
DCHECK(!didMoveToNewDocumentWasCalled); |
- ASSERT_UNUSED(oldDocument, |
- oldDocument == oldDocumentDidMoveToNewDocumentWasCalledWith); |
+ DCHECK_EQ(oldDocument, oldDocumentDidMoveToNewDocumentWasCalledWith); |
didMoveToNewDocumentWasCalled = true; |
} |
#endif |