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

Unified Diff: ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm

Issue 2606873002: Move the offline URL trimming to GetFormattedURL. (Closed)
Patch Set: clean Created 4 years 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/toolbar/web_toolbar_controller.mm
diff --git a/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm b/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
index 48d04753790ffba50f48f50cb13942a9dba26f83..7a80dd6dee2860dc88037140f710b0d3eb265db4 100644
--- a/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
@@ -1319,8 +1319,7 @@ CGRect RectShiftedDownAndResizedForStatusBar(CGRect rect) {
}
- (ToolbarModel*)toolbarModel {
- ToolbarModelIOS* toolbarModelIOS = [self.delegate toolbarModelIOS];
- return toolbarModelIOS ? toolbarModelIOS->GetToolbarModel() : nullptr;
+ return [self.delegate toolbarModelIOS];
}
#pragma mark -

Powered by Google App Engine
This is Rietveld 408576698