| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm
|
| index 096e376e804c368fedad8da270b1fc96a919e955..3a7cef4f69c9900f5119438f702ab46415997656 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm
|
| @@ -46,7 +46,8 @@ const CGFloat kBorderRadius = 3.0;
|
| [controller_ isAnimatingFromState:BookmarkBar::DETACHED]) {
|
| [self drawAsDetachedBubble];
|
| } else {
|
| - NSPoint phase = [[self window] themePatternPhase];
|
| + NSPoint phase = [[self window]
|
| + themePatternPhaseForAlignment:THEME_PATTERN_ALIGN_WITH_TAB_STRIP];
|
| [[NSGraphicsContext currentContext] cr_setPatternPhase:phase forView:self];
|
| [self drawBackgroundWithOpaque:YES];
|
| }
|
| @@ -76,7 +77,9 @@ const CGFloat kBorderRadius = 3.0;
|
| CGContextRef cgContext = static_cast<CGContextRef>([context graphicsPort]);
|
| CGContextSetAlpha(cgContext, 1 - morph);
|
| CGContextBeginTransparencyLayer(cgContext, NULL);
|
| - [context cr_setPatternPhase:[[self window] themePatternPhase] forView:self];
|
| + NSPoint phase = [[self window]
|
| + themePatternPhaseForAlignment:THEME_PATTERN_ALIGN_WITH_TAB_STRIP];
|
| + [context cr_setPatternPhase:phase forView:self];
|
| [self drawBackgroundWithOpaque:YES];
|
| CGContextEndTransparencyLayer(cgContext);
|
| }
|
|
|