Index: chrome/browser/ui/cocoa/tabs/tab_strip_view.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm |
index e62eb67bf5f72c5c7ceff829e86515ea1a9f2229..0f8231b2ede5ad8ebb710100e0c1d7cefca588f9 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm |
@@ -56,9 +56,9 @@ |
if (NSMinY(dirtyRect) < backgroundHeight) { |
gfx::ScopedNSGraphicsContextSaveGState scopedGState; |
NSGraphicsContext *context = [NSGraphicsContext currentContext]; |
- NSPoint phase = [[self window] themePatternPhaseForAlignment: |
- THEME_PATTERN_ALIGN_WITH_TAB_STRIP]; |
- [context cr_setPatternPhase:phase forView:self]; |
+ NSPoint position = [[self window] themeImagePositionForAlignment: |
+ THEME_IMAGE_ALIGN_WITH_TAB_STRIP]; |
+ [context cr_setPatternPhase:position forView:self]; |
// Themes don't have an inactive image so only look for one if there's no |
// theme. |