From 53f8c20ce3b721217776ed284a1512af95336d60 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 11 Jul 2017 16:40:18 +0200 Subject: [FIXUP] Fix for "[Backport] Fix for CVE-2017-5065" Change-Id: Iefefdc4721ac8abca4cbda2d7d51af39b8a054b0 Reviewed-by: Allan Sandfeld Jensen --- chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chromium/third_party/WebKit/Source/web') 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*) -- cgit v1.2.3