Index: chrome/browser/ui/cocoa/info_bubble_view.mm |
diff --git a/chrome/browser/ui/cocoa/info_bubble_view.mm b/chrome/browser/ui/cocoa/info_bubble_view.mm |
index a82e0405b90fe3507e4f2f7523493411f2bb709f..bd49e0dc7a422d45c9bef564a5268c300d19ee79 100644 |
--- a/chrome/browser/ui/cocoa/info_bubble_view.mm |
+++ b/chrome/browser/ui/cocoa/info_bubble_view.mm |
@@ -11,11 +11,13 @@ |
@synthesize arrowLocation = arrowLocation_; |
@synthesize alignment = alignment_; |
+@synthesize backgroundColor = backgroundColor_; |
- (id)initWithFrame:(NSRect)frameRect { |
if ((self = [super initWithFrame:frameRect])) { |
arrowLocation_ = info_bubble::kTopLeft; |
alignment_ = info_bubble::kAlignArrowToAnchor; |
+ [self setBackgroundColor:[NSColor colorWithCalibratedWhite:1.0 alpha:0.9]]; |
} |
return self; |
} |
@@ -62,7 +64,7 @@ |
[bezier lineToPoint:NSMakePoint(arrowStart.x + info_bubble::kBubbleArrowWidth, |
arrowStart.y)]; |
[bezier closePath]; |
- [[NSColor colorWithCalibratedWhite:1.0 alpha:0.9] set]; |
+ [backgroundColor_ set]; |
[bezier fill]; |
} |