| Index: components/dom_distiller/core/distiller.cc
|
| diff --git a/components/dom_distiller/core/distiller.cc b/components/dom_distiller/core/distiller.cc
|
| index d720a5be6bb8750a80f7ed9fb433f6f6fd8f59bc..cecf9098b3af992863f942e23bcf5865f819561e 100644
|
| --- a/components/dom_distiller/core/distiller.cc
|
| +++ b/components/dom_distiller/core/distiller.cc
|
| @@ -141,8 +141,7 @@ void DistillerImpl::OnPageDistillationFinished(
|
| page_data->distilled_page_proto =
|
| new base::RefCountedData<DistilledPageProto>();
|
| page_data->page_num = page_num;
|
| - page_data->title = distilled_page->title;
|
| -
|
| + page_data->distilled_page_proto->data.set_title(distilled_page->title);
|
| page_data->distilled_page_proto->data.set_url(page_url.spec());
|
| page_data->distilled_page_proto->data.set_html(distilled_page->html);
|
|
|
| @@ -267,7 +266,7 @@ void DistillerImpl::RunDistillerCallbackIfDone() {
|
| *(article_proto->add_pages()) = page_data->distilled_page_proto->data;
|
|
|
| if (first_page) {
|
| - article_proto->set_title(page_data->title);
|
| + article_proto->set_title(page_data->distilled_page_proto->data.title());
|
| first_page = false;
|
| }
|
|
|
|
|