Index: chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm b/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
index 2ff64d0cfa7de7876bc00410e41aea3ac569d8a1..440c1953fe04429fadacd21917ec84317c8e741c 100644 |
--- a/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
+++ b/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
@@ -66,7 +66,7 @@ void VerticallyCenterView(NSView* toMove) { |
// rather than in the total height (which includes the bulge). |
CGFloat superHeight = NSHeight(superViewFrame); |
if ([[toMove superview] isKindOfClass:[InfoBarGradientView class]]) |
- superHeight = infobars::InfoBar::kDefaultBarTargetHeight; |
+ superHeight = infobars::InfoBar::gDefaultBarTargetHeight; |
viewFrame.origin.y = |
floor((superHeight - NSHeight(viewFrame)) / 2.0); |
[toMove setFrame:viewFrame]; |