Index: components/dom_distiller/content/distiller_page_web_contents_browsertest.cc |
diff --git a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc |
index 3d20a9d9137e2ddd089d008006a8f12862a0a3d9..61ff0cd8bfc89c4f884e1eac8d37f6ee08c3dcde 100644 |
--- a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc |
+++ b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc |
@@ -72,7 +72,8 @@ class DistillerPageWebContentsTest : public ContentBrowserTest { |
IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, BasicDistillationWorks) { |
DistillerPageWebContents distiller_page( |
- shell()->web_contents()->GetBrowserContext()); |
+ shell()->web_contents()->GetBrowserContext(), |
+ scoped_ptr<SourcePageHandleWebContents>()); |
distiller_page_ = &distiller_page; |
base::RunLoop run_loop; |
@@ -88,7 +89,8 @@ IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, BasicDistillationWorks) { |
IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, HandlesRelativeLinks) { |
DistillerPageWebContents distiller_page( |
- shell()->web_contents()->GetBrowserContext()); |
+ shell()->web_contents()->GetBrowserContext(), |
+ scoped_ptr<SourcePageHandleWebContents>()); |
distiller_page_ = &distiller_page; |
base::RunLoop run_loop; |
@@ -104,7 +106,8 @@ IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, HandlesRelativeLinks) { |
IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest, HandlesRelativeImages) { |
DistillerPageWebContents distiller_page( |
- shell()->web_contents()->GetBrowserContext()); |
+ shell()->web_contents()->GetBrowserContext(), |
+ scoped_ptr<SourcePageHandleWebContents>()); |
distiller_page_ = &distiller_page; |
base::RunLoop run_loop; |