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 81bc2e7f6f65449847ca59f5d3927f64e64fe09f..baa9977a9f167f2f27d7cdd1c0c004f69af8b68a 100644 |
--- a/components/dom_distiller/content/distiller_page_web_contents.cc |
+++ b/components/dom_distiller/content/distiller_page_web_contents.cc |
@@ -31,7 +31,7 @@ DistillerPageWebContents::DistillerPageWebContents( |
DistillerPageWebContents::~DistillerPageWebContents() {} |
-void DistillerPageWebContents::DistillPageImpl(const GURL& gurl, |
+void DistillerPageWebContents::DistillPageImpl(const GURL& url, |
const std::string& script) { |
DCHECK(browser_context_); |
DCHECK(state_ == IDLE); |
@@ -46,7 +46,7 @@ void DistillerPageWebContents::DistillPageImpl(const GURL& gurl, |
// Start observing WebContents and load the requested URL. |
content::WebContentsObserver::Observe(web_contents_.get()); |
- content::NavigationController::LoadURLParams params(gurl); |
+ content::NavigationController::LoadURLParams params(url); |
web_contents_->GetController().LoadURLWithParams(params); |
} |