Index: components/dom_distiller/content/browser/distiller_page_web_contents.cc |
diff --git a/components/dom_distiller/content/browser/distiller_page_web_contents.cc b/components/dom_distiller/content/browser/distiller_page_web_contents.cc |
index 117e01f509549d24cfe51bd78fb9e6c4fac3c783..b715d187ea1c6376859728fbc9b73a2f5605da84 100644 |
--- a/components/dom_distiller/content/browser/distiller_page_web_contents.cc |
+++ b/components/dom_distiller/content/browser/distiller_page_web_contents.cc |
@@ -19,6 +19,7 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_observer.h" |
+#include "content/public/browser/web_contents_source.h" |
#include "ui/gfx/screen.h" |
#include "url/gurl.h" |
@@ -119,6 +120,7 @@ void DistillerPageWebContents::CreateNewWebContents(const GURL& url) { |
create_params.initially_hidden = true; |
content::WebContents* web_contents = |
content::WebContents::Create(create_params); |
+ WebContentsSource::CreateForWebContentsAndLocation(web_contents, FROM_HERE); |
DCHECK(web_contents); |
web_contents->SetDelegate(this); |