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

Unified Diff: ios/chrome/browser/reading_list/reading_list_web_state_observer.mm

Issue 2451843002: Add Store+Sync to reading list. (Closed)
Patch Set: fix xcode clang Created 4 years, 1 month 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
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_store_unittest.cc ('k') | ios/chrome/browser/sync/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/reading_list_web_state_observer.mm
diff --git a/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm b/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm
index 04333916ae03938e34a2a61e4b68b2942318e72a..c12abae78171eafa251ea9e0b5a0ec03647c861e 100644
--- a/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm
+++ b/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm
@@ -110,7 +110,8 @@ void ReadingListWebStateObserver::VerifyIfReadingListEntryStartedLoading() {
double progress = web_state()->GetLoadingProgress();
const double kMinimumExpectedProgress = 0.15;
if (progress < kMinimumExpectedProgress) {
- const ReadingListEntry* entry = reading_list_model_->GetEntryFromURL(url);
+ const ReadingListEntry* entry =
+ reading_list_model_->GetEntryFromURL(url, nullptr);
if (!entry)
return;
// TODO(crbug.com/664124) Actually load offline pages.
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_store_unittest.cc ('k') | ios/chrome/browser/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698