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

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

Issue 2606873002: Move the offline URL trimming to GetFormattedURL. (Closed)
Patch Set: fix DEPS 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
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_model_ios.h ('k') | ios/web/public/test/test_navigation_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2fd6f3a05635ae9f0326c8eef0c3101a07ddbebd..85cdcae7446fe88ee8e1fbff2ffba86eca99a7c2 100644
--- a/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
@@ -1318,8 +1318,7 @@ CGRect RectShiftedDownAndResizedForStatusBar(CGRect rect) {
}
- (ToolbarModel*)toolbarModel {
- ToolbarModelIOS* toolbarModelIOS = [self.delegate toolbarModelIOS];
- return toolbarModelIOS ? toolbarModelIOS->GetToolbarModel() : nullptr;
+ return [self.delegate toolbarModelIOS];
}
#pragma mark -
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_model_ios.h ('k') | ios/web/public/test/test_navigation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698