| Index: chrome/browser/renderer_host/render_view_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host.cc (revision 27884)
|
| +++ chrome/browser/renderer_host/render_view_host.cc (working copy)
|
| @@ -995,7 +995,9 @@
|
| }
|
|
|
| void RenderViewHost::OnMsgClose() {
|
| - delegate_->Close(this);
|
| + // If the renderer is telling us to close, it has already run the unload
|
| + // events, and we can take the fast path.
|
| + ClosePageIgnoringUnloadEvents();
|
| }
|
|
|
| void RenderViewHost::OnMsgRequestMove(const gfx::Rect& pos) {
|
|
|