| Index: ios/chrome/browser/dom_distiller/distiller_viewer.cc
|
| diff --git a/ios/chrome/browser/dom_distiller/distiller_viewer.cc b/ios/chrome/browser/dom_distiller/distiller_viewer.cc
|
| index 1e1aab96e3ee60b9346051a581a0cc9271de93eb..9ec395286236817b1cdf90e60351197887721e52 100644
|
| --- a/ios/chrome/browser/dom_distiller/distiller_viewer.cc
|
| +++ b/ios/chrome/browser/dom_distiller/distiller_viewer.cc
|
| @@ -49,9 +49,8 @@ void DistillerViewer::OnArticleReady(
|
| distilled_page_prefs_->GetFontFamily());
|
|
|
| std::string html_and_script(html);
|
| - std::string hide_feedback =
|
| - "document.getElementById('feedbackContainer').style.display = 'none';";
|
| - html_and_script += "<script>" + js_buffer_ + hide_feedback + "</script>";
|
| + html_and_script +=
|
| + "<script> distiller_on_ios = true; " + js_buffer_ + "</script>";
|
| callback_.Run(url_, html_and_script);
|
| }
|
|
|
|
|