summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/web
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/web')
-rw-r--r--chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp b/chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
index a473157ec6d..4e2d85f47b5 100644
--- a/chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
+++ b/chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
@@ -111,8 +111,7 @@ void ValidationMessageClientImpl::willUnloadDocument(const Document& document) {
}
void ValidationMessageClientImpl::documentDetached(const Document& document) {
- DCHECK(!m_currentAnchor || m_currentAnchor->document() != document)
- << "willUnloadDocument() should be called beforehand.";
+ ASSERT(!m_currentAnchor || m_currentAnchor->document() != document);
}
void ValidationMessageClientImpl::checkAnchorStatus(Timer<ValidationMessageClientImpl>*)