Index: content/browser/frame_host/interstitial_page_impl.h |
diff --git a/content/browser/frame_host/interstitial_page_impl.h b/content/browser/frame_host/interstitial_page_impl.h |
index 8cb1419bd59ab3e1a2e8460d721ed52fdd676856..fe9eee45ba553f2c1bc06cbd1ef9bfbda2df8280 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.h |
+++ b/content/browser/frame_host/interstitial_page_impl.h |
@@ -68,10 +68,6 @@ class CONTENT_EXPORT InterstitialPageImpl |
virtual void SetSize(const gfx::Size& size) OVERRIDE; |
virtual void Focus() OVERRIDE; |
- // This is called by a hosting WebContents to notify this interstitial page |
- // that it is going away. |
- void WebContentsWillBeDestroyed(); |
- |
// Allows the user to navigate away by disabling the interstitial, canceling |
// the pending request, and unblocking the hidden renderer. The interstitial |
// will stay visible until the navigation completes. |
@@ -109,7 +105,7 @@ class CONTENT_EXPORT InterstitialPageImpl |
// WebContentsObserver implementation: |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
- virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
+ virtual void WebContentsDestroyed() OVERRIDE; |
virtual void NavigationEntryCommitted( |
const LoadCommittedDetails& load_details) OVERRIDE; |