diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-07-11 16:40:18 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-07-11 14:44:03 +0000 |
commit | 53f8c20ce3b721217776ed284a1512af95336d60 (patch) | |
tree | 686092345458e4def426af220c9b20064aa84ea7 /chromium/third_party/WebKit/Source/web | |
parent | ac5d2f8fc69db3a37baae870815350836080d7e0 (diff) |
[FIXUP] Fix for "[Backport] Fix for CVE-2017-5065"
Change-Id: Iefefdc4721ac8abca4cbda2d7d51af39b8a054b0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/WebKit/Source/web')
-rw-r--r-- | chromium/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp | 3 |
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>*) |