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 73a38552c0b841280c6da0d73325a7d7123b1b2c..d9c04edd9babf7dec824b7f4daa261e645147386 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. |
@@ -111,7 +107,7 @@ class CONTENT_EXPORT InterstitialPageImpl |
virtual bool OnMessageReceived(const IPC::Message& message, |
RenderFrameHost* render_frame_host) OVERRIDE; |
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; |