Commit e5a88e66 authored by olivierrobin's avatar olivierrobin Committed by Commit bot

Remove call to stopLoading when loading Distilled version.

Stop loading destroys the pending entry which leads to a crash in release.
Remove the call to stop.

BUG=679721

Review-Url: https://codereview.chromium.org/2623583005
Cr-Commit-Position: refs/heads/master@{#442856}
parent ef80b9a6
......@@ -271,7 +271,6 @@ void ReadingListWebStateObserver::LoadOfflineReadingListEntry() {
web::NavigationManager* manager = web_state()->GetNavigationManager();
web::NavigationItem* item = manager->GetPendingItem();
if (item) {
web_state()->Stop();
web::WebState::OpenURLParams params(url, item->GetReferrer(),
WindowOpenDisposition::CURRENT_TAB,
item->GetTransitionType(), NO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment