summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index 541a2787747..9fecc3e0790 100644
--- a/chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/chromium/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -477,6 +477,7 @@ void WebPagePopupImpl::close()
void WebPagePopupImpl::closePopup()
{
+ {
// This function can be called in EventDispatchForbiddenScope for the main
// document, and the following operations dispatch some events. It's safe
// because web authors can't listen the events.
@@ -496,8 +497,8 @@ void WebPagePopupImpl::closePopup()
// closeWidgetSoon() will call this->close() later.
m_widgetClient->closeWidgetSoon();
}
-
- m_popupClient->didClosePopup();
+ }
+ m_popupClient->didClosePopup();
}
LocalDOMWindow* WebPagePopupImpl::window()