Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Unified Diff: chrome/browser/ui/cocoa/find_bar/find_bar_view.mm

Issue 19576007: Refactor themePatternPhase and tab_view in preparation for fixing crbug.com/176857 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm b/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
index eb7e9d50e7c62d1b1a8a1d50139c6e42af6e383a..266804616e8e986ebcd45fb2857bce9dfd18475b 100644
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
@@ -70,7 +70,8 @@ CGFloat kCurveSize = 8;
[path addClip];
// Set the pattern phase
- NSPoint phase = [[self window] themePatternPhase];
+ NSPoint phase = [[self window]
+ themePatternPhaseForAlignment:THEME_PATTERN_ALIGN_WITH_TAB_STRIP];
[context cr_setPatternPhase:phase forView:self];
[super drawBackgroundWithOpaque:YES];

Powered by Google App Engine
This is Rietveld 408576698