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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2260003002: [ios] Set WebState::IsLoading flag to false if load is cancelled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index 783dc479b64dc91f3b12c6b9c12f8a4d4a8b62eb..cfa196272bc9bb0c4182f10a84c8df29376c43eb 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -2214,6 +2214,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
// FinishPageLoad, passing the exact same URL.
self.webStateImpl->GetRequestTracker()->FinishPageLoad(
_URLOnStartLoading, false);
+ _webStateImpl->SetIsLoading(false);
}
[_delegate webLoadCancelled:_URLOnStartLoading];
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698