Chromium Code Reviews| Index: Source/web/ChromeClientImpl.cpp |
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
| index 4bddb6895087221ce4122e4d24d4d5edbcb7bdab..8c95171e40ba90838dd0c6c61b551812d4db2da8 100644 |
| --- a/Source/web/ChromeClientImpl.cpp |
| +++ b/Source/web/ChromeClientImpl.cpp |
| @@ -400,7 +400,8 @@ void ChromeClientImpl::closeWindowSoon() |
| Page::ordinaryPages().remove(m_webView->page()); |
| // Make sure that all loading is stopped. Ensures that JS stops executing! |
| - m_webView->mainFrame()->stopLoading(); |
| + if (m_webView->mainFrame()->isWebLocalFrame()) |
| + m_webView->mainFrame()->stopLoading(); |
|
dcheng
2015/06/16 20:08:23
Oof. We'll need to fix this too.
nasko
2015/06/16 22:58:54
I didn't get to this one today :(. I will fix it o
|
| if (m_webView->client()) |
| m_webView->client()->closeWidgetSoon(); |