Index: chrome/browser/ui/sync/one_click_signin_helper.cc |
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.cc b/chrome/browser/ui/sync/one_click_signin_helper.cc |
index fceb3e6035a798f03f14e8afc46a01771eb6f361..7e4fdfe8633137c948948125295ef4ae983be972 100644 |
--- a/chrome/browser/ui/sync/one_click_signin_helper.cc |
+++ b/chrome/browser/ui/sync/one_click_signin_helper.cc |
@@ -426,7 +426,7 @@ class CurrentHistoryCleaner : public content::WebContentsObserver { |
virtual ~CurrentHistoryCleaner(); |
// content::WebContentsObserver: |
- virtual void WebContentsDestroyed(content::WebContents* contents) OVERRIDE; |
+ virtual void WebContentsDestroyed() OVERRIDE; |
virtual void DidCommitProvisionalLoadForFrame( |
int64 frame_id, |
const base::string16& frame_unique_name, |
@@ -479,8 +479,7 @@ void CurrentHistoryCleaner::DidCommitProvisionalLoadForFrame( |
} |
} |
-void CurrentHistoryCleaner::WebContentsDestroyed( |
- content::WebContents* contents) { |
+void CurrentHistoryCleaner::WebContentsDestroyed() { |
delete this; // Failure. |
} |