| Index: chrome/browser/ui/ash/launcher/browser_status_monitor.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/browser_status_monitor.cc b/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
|
| index f10792cb08257a9bcb6ab4bfa4968a64dad7231e..36b1935a14f8091ef9a8a5fffa3946577e9d3842 100644
|
| --- a/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
|
| +++ b/chrome/browser/ui/ash/launcher/browser_status_monitor.cc
|
| @@ -60,14 +60,11 @@ class BrowserStatusMonitor::LocalWebContentsObserver
|
| monitor_->SetShelfIDForBrowserWindowContents(browser, web_contents());
|
| }
|
|
|
| - virtual void WebContentsDestroyed(
|
| - content::WebContents* web_content) OVERRIDE {
|
| - if (web_content == web_contents()) {
|
| - // We can only come here when there was a non standard termination like
|
| - // an app got un-installed while running, etc.
|
| - monitor_->WebContentsDestroyed(web_content);
|
| - // |this| is gone now.
|
| - }
|
| + virtual void WebContentsDestroyed() OVERRIDE {
|
| + // We can only come here when there was a non standard termination like
|
| + // an app got un-installed while running, etc.
|
| + monitor_->WebContentsDestroyed(web_contents());
|
| + // |this| is gone now.
|
| }
|
|
|
| private:
|
|
|