Index: ios/chrome/browser/ui/ntp/new_tab_page_bar.mm |
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm b/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm |
index e374a729cdba9502c9733ed8f69460c2797aaf1a..760902a83eec023a970b8b6a8d630b6b56e181e6 100644 |
--- a/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm |
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm |
@@ -143,7 +143,8 @@ const int kNumberOfTabsIncognito = 2; |
CGFloat logoWidth = logoView_.get().image.size.width; |
CGFloat padding = [self useIconsInButtons] ? logoWidth : 0; |
CGFloat buttonPadding = floor((CGRectGetWidth(self.bounds) - padding - |
- (buttonWidth_ * self.buttons.count) / 2) + |
+ buttonWidth_ * self.buttons.count) / |
+ 2 + |
padding); |
for (NSUInteger i = 0; i < self.buttons.count; ++i) { |