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 6a9d1bc4bfeb0cde225a558f0f0d0648df697c23..aeec57440d81c4e280461d7a86e1f1d6f2c93968 100644 |
--- a/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
+++ b/chrome/browser/ui/cocoa/infobars/infobar_utilities.mm |
@@ -5,10 +5,10 @@ |
#import "chrome/browser/ui/cocoa/infobars/infobar_utilities.h" |
#include "base/mac/scoped_nsobject.h" |
-#import "chrome/browser/infobars/infobar.h" |
#import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h" |
#import "chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h" |
#import "chrome/browser/ui/cocoa/nsview_additions.h" |
+#import "components/infobars/core/infobar.h" |
@interface InfobarLabelTextField : NSTextField |
@end |
@@ -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 = InfoBar::kDefaultBarTargetHeight; |
+ superHeight = infobars::InfoBar::kDefaultBarTargetHeight; |
viewFrame.origin.y = |
floor((superHeight - NSHeight(viewFrame)) / 2.0); |
[toMove setFrame:viewFrame]; |