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

Unified Diff: ios/chrome/browser/ui/reading_list/offline_page_native_content.mm

Issue 2762113002: Reading List iOS: Adapt loading offline for new reload process (Closed)
Patch Set: rebase 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/ui/reading_list/offline_page_native_content.mm
diff --git a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
index f9d84e5442ecd5573d4a64012a064b805bdd00cd..9b3a5cddc0251af85669952d866e1b3e3805a37d 100644
--- a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
+++ b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
@@ -100,7 +100,7 @@
_webState->GetNavigationManager()->GetLastCommittedItem();
DCHECK(item && item->GetVirtualURL() == [self virtualURL]);
item->SetURL(_entryURL);
- item->SetVirtualURL(_entryURL);
+ item->SetVirtualURL(GURL::EmptyGURL());
}
@end
« no previous file with comments | « ios/chrome/browser/ui/reading_list/BUILD.gn ('k') | ios/chrome/browser/ui/reading_list/reading_list_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698