| Index: ios/chrome/browser/ui/ntp/google_landing_controller.mm
|
| diff --git a/ios/chrome/browser/ui/ntp/google_landing_controller.mm b/ios/chrome/browser/ui/ntp/google_landing_controller.mm
|
| index 6775b127da0f93e592919a3ce43b1795027ca2ac..7f1d3c7340f3cc3c9e3de5856e7734dd8ea6218b 100644
|
| --- a/ios/chrome/browser/ui/ntp/google_landing_controller.mm
|
| +++ b/ios/chrome/browser/ui/ntp/google_landing_controller.mm
|
| @@ -189,9 +189,6 @@
|
|
|
| // |YES| if a what's new promo can be displayed.
|
| @property(nonatomic, assign) BOOL promoCanShow;
|
| -
|
| -// The number of tabs to show in the google landing fake toolbar.
|
| -@property(nonatomic, assign) int tabCount;
|
|
|
| // iPhone landscape uses a slightly different layout for the doodle and search
|
| // field frame. Returns the proper frame from |frames| based on orientation,
|
| @@ -262,7 +259,6 @@
|
| @synthesize promoIcon = _promoIcon;
|
| @synthesize promoCanShow = _promoCanShow;
|
| @synthesize maximumMostVisitedSitesShown = _maximumMostVisitedSitesShown;
|
| -@synthesize tabCount = _tabCount;
|
| @synthesize voiceSearchIsEnabled = _voiceSearchIsEnabled;
|
|
|
| - (void)loadView {
|
| @@ -999,7 +995,6 @@
|
| // iPhone header also contains a toolbar since the normal toolbar is
|
| // hidden.
|
| [_headerView addToolbarWithDataSource:self.dataSource];
|
| - [_headerView setToolbarTabCount:self.tabCount];
|
| }
|
| [_supplementaryViews addObject:_headerView];
|
| }
|
| @@ -1489,9 +1484,4 @@
|
| [_mostVisitedView reloadItemsAtIndexPaths:@[ indexPath ]];
|
| }
|
|
|
| -- (void)setTabCount:(int)tabCount {
|
| - _tabCount = tabCount;
|
| - [_headerView setToolbarTabCount:self.tabCount];
|
| -}
|
| -
|
| @end
|
|
|