Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: ios/chrome/browser/reading_list/url_downloader.cc

Issue 2754803003: Reading List iOS: Handle multiple pages. (Closed)
Patch Set: clean Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/reading_list/url_downloader.cc
diff --git a/ios/chrome/browser/reading_list/url_downloader.cc b/ios/chrome/browser/reading_list/url_downloader.cc
index 65963e6ad121a57f474b3d17b87b9a456b247293..15f04cc707087e71e9bb327c769a2e336dfc7d92 100644
--- a/ios/chrome/browser/reading_list/url_downloader.cc
+++ b/ios/chrome/browser/reading_list/url_downloader.cc
@@ -173,7 +173,7 @@ void URLDownloader::DownloadURL(const GURL& url, bool offline_url_exists) {
saved_size_ = 0;
std::unique_ptr<reading_list::ReadingListDistillerPage>
reading_list_distiller_page =
- distiller_page_factory_->CreateReadingListDistillerPage(this);
+ distiller_page_factory_->CreateReadingListDistillerPage(url, this);
distiller_.reset(new dom_distiller::DistillerViewer(
distiller_factory_, std::move(reading_list_distiller_page), pref_service_,

Powered by Google App Engine
This is Rietveld 408576698