| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 5f661d84653b150493e1274b2d8efa8960b7ea9b..28dc9baa8b084c09315786374f9af6c983775950 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3251,8 +3251,6 @@ void Document::DispatchUnloadEvents() {
|
| return;
|
|
|
| if (load_event_progress_ <= kUnloadEventInProgress) {
|
| - if (GetPage())
|
| - GetPage()->WillUnloadDocument(*this);
|
| Element* current_focused_element = FocusedElement();
|
| if (isHTMLInputElement(current_focused_element))
|
| toHTMLInputElement(*current_focused_element).EndEditing();
|
|
|