| Index: chrome/browser/cocoa/toolbar_view.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/toolbar_view.mm (revision 28537)
|
| +++ chrome/browser/cocoa/toolbar_view.mm (working copy)
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/cocoa/toolbar_view.h"
|
| +#import "chrome/browser/cocoa/toolbar_view.h"
|
|
|
| @implementation ToolbarView
|
|
|
| @@ -11,4 +11,12 @@
|
| return NO;
|
| }
|
|
|
| +- (void)drawRect:(NSRect)rect {
|
| + // The toolbar's background pattern is phased relative to the
|
| + // tab strip view's background pattern.
|
| + NSPoint phase = [self gtm_themePatternPhase];
|
| + [[NSGraphicsContext currentContext] setPatternPhase:phase];
|
| + [self drawBackground];
|
| +}
|
| +
|
| @end
|
|
|