| Index: chrome/browser/ui/auto_login_infobar_delegate.cc
|
| diff --git a/chrome/browser/ui/auto_login_infobar_delegate.cc b/chrome/browser/ui/auto_login_infobar_delegate.cc
|
| index 11490295776ca2074562952cc3719ce6f92b2328..62dffb6efbb260391982279cd696cfbe359df652 100644
|
| --- a/chrome/browser/ui/auto_login_infobar_delegate.cc
|
| +++ b/chrome/browser/ui/auto_login_infobar_delegate.cc
|
| @@ -63,8 +63,7 @@ class AutoLoginRedirector : public UbertokenConsumer,
|
| virtual void OnUbertokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
|
|
|
| // Implementation of content::WebContentsObserver
|
| - virtual void WebContentsDestroyed(
|
| - content::WebContents* web_contents) OVERRIDE;
|
| + virtual void WebContentsDestroyed() OVERRIDE;
|
|
|
| // Redirect tab to MergeSession URL, logging the user in and navigating
|
| // to the desired page.
|
| @@ -97,8 +96,7 @@ AutoLoginRedirector::AutoLoginRedirector(
|
| AutoLoginRedirector::~AutoLoginRedirector() {
|
| }
|
|
|
| -void AutoLoginRedirector::WebContentsDestroyed(
|
| - content::WebContents* web_contents) {
|
| +void AutoLoginRedirector::WebContentsDestroyed() {
|
| // The WebContents that started this has been destroyed. The request must be
|
| // cancelled and this object must be deleted.
|
| ubertoken_fetcher_.reset();
|
|
|