diff options
-rw-r--r-- | content/browser/tab_contents/interstitial_page.cc | 5 | ||||
-rw-r--r-- | content/browser/tab_contents/interstitial_page.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/tab_contents/interstitial_page.cc b/content/browser/tab_contents/interstitial_page.cc index e50ba12..778ef77 100644 --- a/content/browser/tab_contents/interstitial_page.cc +++ b/content/browser/tab_contents/interstitial_page.cc @@ -393,6 +393,11 @@ content::RendererPreferences InterstitialPage::GetRendererPrefs( return renderer_preferences_; } +WebPreferences InterstitialPage::GetWebkitPrefs() { + return content::GetContentClient()->browser()->GetWebkitPrefs( + render_view_host()); +} + RenderViewHost* InterstitialPage::CreateRenderViewHost() { RenderViewHost* render_view_host = new RenderViewHost( SiteInstance::CreateSiteInstance(tab()->browser_context()), diff --git a/content/browser/tab_contents/interstitial_page.h b/content/browser/tab_contents/interstitial_page.h index 47dc2b6..b4ebbdd 100644 --- a/content/browser/tab_contents/interstitial_page.h +++ b/content/browser/tab_contents/interstitial_page.h @@ -131,6 +131,7 @@ class CONTENT_EXPORT InterstitialPage : public content::NotificationObserver, base::i18n::TextDirection title_direction) OVERRIDE; virtual content::RendererPreferences GetRendererPrefs( content::BrowserContext* browser_context) const OVERRIDE; + virtual WebPreferences GetWebkitPrefs() OVERRIDE; // Invoked with the NavigationEntry that is going to be added to the // navigation controller. |