Index: components/dom_distiller/core/distiller.cc |
diff --git a/components/dom_distiller/core/distiller.cc b/components/dom_distiller/core/distiller.cc |
index ccfbcf36220cfa58986ba39b2dfb05edab792370..fe46182e4bcf4610a88d2f0e019b85200b6b826a 100644 |
--- a/components/dom_distiller/core/distiller.cc |
+++ b/components/dom_distiller/core/distiller.cc |
@@ -155,6 +155,11 @@ void DistillerImpl::OnPageDistillationFinished( |
page_data->distilled_page_proto->data.set_html( |
distiller_result->distilled_content().html()); |
} |
+ if (distiller_result->has_debug_info() && |
+ distiller_result->debug_info().has_log()) { |
+ page_data->distilled_page_proto->data.mutable_debug_info()->set_log( |
+ distiller_result->debug_info().log()); |
+ } |
if (distiller_result->has_pagination_info()) { |
proto::PaginationInfo pagination_info = |