| Index: third_party/WebKit/Source/core/page/Page.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
|
| index 4a083020409fba2b7999b1c52cfb1bf00e5c6589..38312cd3c29afc2b7f6c141751959ee6839aef00 100644
|
| --- a/third_party/WebKit/Source/core/page/Page.cpp
|
| +++ b/third_party/WebKit/Source/core/page/Page.cpp
|
| @@ -253,16 +253,9 @@ void Page::SetMainFrame(Frame* main_frame) {
|
| main_frame_ = main_frame;
|
| }
|
|
|
| -void Page::WillUnloadDocument(const Document& document) {
|
| - if (validation_message_client_)
|
| - validation_message_client_->WillUnloadDocument(document);
|
| -}
|
| -
|
| void Page::DocumentDetached(Document* document) {
|
| pointer_lock_controller_->DocumentDetached(document);
|
| context_menu_controller_->DocumentDetached(document);
|
| - if (validation_message_client_)
|
| - validation_message_client_->DocumentDetached(*document);
|
| hosts_using_features_.DocumentDetached(*document);
|
| }
|
|
|
|
|