| Index: chrome/browser/ui/unload_controller.cc
|
| diff --git a/chrome/browser/ui/unload_controller.cc b/chrome/browser/ui/unload_controller.cc
|
| index 8791f7056ebab71a2aa608d4d66f070b0be60a79..96a39297e62a150ceea90df9acf64ea47091e696 100644
|
| --- a/chrome/browser/ui/unload_controller.cc
|
| +++ b/chrome/browser/ui/unload_controller.cc
|
| @@ -320,7 +320,7 @@ void UnloadController::ProcessPendingTabs() {
|
| // Null check render_view_host here as this gets called on a PostTask and
|
| // the tab's render_view_host may have been nulled out.
|
| if (web_contents->GetRenderViewHost()) {
|
| - web_contents->GetRenderViewHost()->ClosePage();
|
| + web_contents->ClosePage();
|
| } else {
|
| ClearUnloadState(web_contents, true);
|
| }
|
|
|