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

Unified Diff: components/dom_distiller/ios/distiller_page_ios.mm

Issue 2777243004: Allow URL loading if WebState::GetView was not called. (Closed)
Patch Set: N 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
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/ios/distiller_page_ios.mm
diff --git a/components/dom_distiller/ios/distiller_page_ios.mm b/components/dom_distiller/ios/distiller_page_ios.mm
index 04bfd9008bd156e9a5da91b44d6b29d20567d9a3..be36100e11fed2848af63b57f48f23fb6ec04086 100644
--- a/components/dom_distiller/ios/distiller_page_ios.mm
+++ b/components/dom_distiller/ios/distiller_page_ios.mm
@@ -205,9 +205,6 @@ void DistillerPageIOS::DistillPageImpl(const GURL& url,
web::NavigationManager::WebLoadParams params(url_);
web_state_->SetWebUsageEnabled(true);
web_state_->GetNavigationManager()->LoadURLWithParams(params);
- // GetView is needed because the view is not created (but needed) when
- // loading the page.
- web_state_->GetView();
}
void DistillerPageIOS::OnLoadURLDone(
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698