| Index: components/dom_distiller/core/distiller_page.cc
|
| diff --git a/components/dom_distiller/core/distiller_page.cc b/components/dom_distiller/core/distiller_page.cc
|
| index cc486c746522b15c197464cceb304eca93e57d87..3f4bffe623c7016d49028be463e63b60278c5c6a 100644
|
| --- a/components/dom_distiller/core/distiller_page.cc
|
| +++ b/components/dom_distiller/core/distiller_page.cc
|
| @@ -52,16 +52,16 @@ void DistillerPage::OnLoadURLFailed() {
|
| scoped_ptr<base::Value> empty(base::Value::CreateNullValue());
|
| if (!delegate_)
|
| return;
|
| - delegate_->OnExecuteJavaScriptDone(empty.get());
|
| + delegate_->OnExecuteJavaScriptDone(GURL(), empty.get());
|
| }
|
|
|
| -void DistillerPage::OnExecuteJavaScriptDone(
|
| - const base::Value* value) {
|
| +void DistillerPage::OnExecuteJavaScriptDone(const GURL& page_url,
|
| + const base::Value* value) {
|
| DCHECK_EQ(EXECUTING_JAVASCRIPT, state_);
|
| state_ = PAGE_AVAILABLE;
|
| if (!delegate_)
|
| return;
|
| - delegate_->OnExecuteJavaScriptDone(value);
|
| + delegate_->OnExecuteJavaScriptDone(page_url, value);
|
| }
|
|
|
| } // namespace dom_distiller
|
|
|