Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab.cc |
| =================================================================== |
| --- chrome/browser/ui/views/tabs/tab.cc (revision 86083) |
| +++ chrome/browser/ui/views/tabs/tab.cc (working copy) |
| @@ -292,7 +292,7 @@ |
| title_top -= (text_height - minimum_size.height()) / 2; |
| int title_width; |
| - if (close_button()->IsVisible()) { |
| + if (close_button()->visible()) { |
| title_width = std::max(close_button()->x() - |
| kTitleCloseButtonSpacing - title_left, 0); |
| } else { |