Index: components/dom_distiller/content/distiller_page_web_contents.cc |
diff --git a/components/dom_distiller/content/distiller_page_web_contents.cc b/components/dom_distiller/content/distiller_page_web_contents.cc |
index 4c6ff1c6e07ca1eb93a07d35be8b7caa533f9afa..827af3adfc18e2e34fad0b7b75b611dd4e302e60 100644 |
--- a/components/dom_distiller/content/distiller_page_web_contents.cc |
+++ b/components/dom_distiller/content/distiller_page_web_contents.cc |
@@ -34,6 +34,14 @@ scoped_ptr<content::WebContents> SourcePageHandleWebContents::GetWebContents() { |
return web_contents_.Pass(); |
} |
+DistillerPageWebContentsFactory::DistillerPageWebContentsFactory( |
+ content::BrowserContext* browser_context, |
+ std::string distiller_js_script) |
+ : DistillerPageFactory(), |
+ browser_context_(browser_context), |
+ distiller_js_script_(distiller_js_script) { |
+} |
+ |
scoped_ptr<DistillerPage> DistillerPageWebContentsFactory::CreateDistillerPage( |
const gfx::Size& render_view_size) const { |
DCHECK(browser_context_); |