| Index: third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp b/third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp
|
| index f2e3c3bc44b3c0a71619a3ce8c4b2ea704e121cc..7eb5f345b4ffdfa17687b57604623fbc973667e8 100644
|
| --- a/third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp
|
| @@ -115,16 +115,11 @@ bool ValidationMessageClientImpl::IsValidationMessageVisible(
|
| return current_anchor_ == &anchor;
|
| }
|
|
|
| -void ValidationMessageClientImpl::WillUnloadDocument(const Document& document) {
|
| +void ValidationMessageClientImpl::DocumentDetached(const Document& document) {
|
| if (current_anchor_ && current_anchor_->GetDocument() == document)
|
| HideValidationMessage(*current_anchor_);
|
| }
|
|
|
| -void ValidationMessageClientImpl::DocumentDetached(const Document& document) {
|
| - DCHECK(!current_anchor_ || current_anchor_->GetDocument() != document)
|
| - << "willUnloadDocument() should be called beforehand.";
|
| -}
|
| -
|
| void ValidationMessageClientImpl::CheckAnchorStatus(TimerBase*) {
|
| DCHECK(current_anchor_);
|
| if (MonotonicallyIncreasingTime() >= finish_time_ || !CurrentView()) {
|
|
|