summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/background_gradient_view.mm
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 08:18:52 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 08:18:52 +0000
commit3b553cca52ab5e58ebb7629819150c68ec439aa0 (patch)
treef7de83dcf68f138e6d10bba9490a3638c7c76302 /chrome/browser/cocoa/background_gradient_view.mm
parent31af2abddfa0c05ee19de5b4646197fa552c7e49 (diff)
downloadchromium_src-3b553cca52ab5e58ebb7629819150c68ec439aa0.zip
chromium_src-3b553cca52ab5e58ebb7629819150c68ec439aa0.tar.gz
chromium_src-3b553cca52ab5e58ebb7629819150c68ec439aa0.tar.bz2
BUG=none
When merging in GTMTheme/ThemeProvider changes I missed one. Adding in a patch to make correct since the "half converted" state makes the code unhappy. Error was seen as bookmark bar folder windows with themed text but NOT with a themed background. Review URL: http://codereview.chromium.org/660071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/background_gradient_view.mm')
-rw-r--r--chrome/browser/cocoa/background_gradient_view.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/background_gradient_view.mm b/chrome/browser/cocoa/background_gradient_view.mm
index 96e3773..ba7a760 100644
--- a/chrome/browser/cocoa/background_gradient_view.mm
+++ b/chrome/browser/cocoa/background_gradient_view.mm
@@ -29,7 +29,7 @@
- (void)drawBackground {
BOOL isKey = [[self window] isKeyWindow];
- GTMTheme* theme = [self gtm_theme];
+ GTMTheme* theme = [[self window] gtm_theme];
NSImage* backgroundImage =
[theme backgroundImageForStyle:GTMThemeStyleToolBar
state:GTMThemeStateActiveWindow];