Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/glass_browser_frame_view.cc (revision 86083) |
+++ chrome/browser/ui/views/frame/glass_browser_frame_view.cc (working copy) |
@@ -132,7 +132,7 @@ |
} |
int maximized_spacing = |
kNewTabCaptionMaximizedSpacing + |
- (show_profile_button() && profile_button_->IsVisible() ? |
+ (show_profile_button() && profile_button_->visible() ? |
profile_button_->GetPreferredSize().width() + |
ProfileMenuButton::kProfileTagHorizontalSpacing : 0); |
int tabstrip_width = minimize_button_offset - tabstrip_x - |
@@ -211,7 +211,7 @@ |
return frame_component; |
// See if the point is within the profile menu button. |
- if (show_profile_button() && profile_button_->IsVisible() && |
+ if (show_profile_button() && profile_button_->visible() && |
profile_button_->GetMirroredBounds().Contains(point)) |
return HTCLIENT; |
@@ -248,7 +248,7 @@ |
// The ProfileMenuButton intrudes into the client area when the window is |
// maximized. |
if (frame_->IsMaximized() && show_profile_button() && |
- profile_button_->IsVisible() && |
+ profile_button_->visible() && |
profile_button_->GetMirroredBounds().Contains(l)) { |
return true; |
} else { |