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 1ac010ab365aaf0ce3a919830ea13c31bbf265bf..068a56b1e4ca7b7e7f351bb9e235a58990687d3c 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. |