diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 19:43:07 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 19:43:07 +0000 |
commit | c5a83a32f5621918a4bb78b5b4101a350d92189d (patch) | |
tree | 6158b591aef034ecd7f54b8fadff98da9b759022 /chrome/browser/cocoa/tab_view.mm | |
parent | 92684fbf0a1112435922788cc105f2f6621e1e06 (diff) | |
download | chromium_src-c5a83a32f5621918a4bb78b5b4101a350d92189d.zip chromium_src-c5a83a32f5621918a4bb78b5b4101a350d92189d.tar.gz chromium_src-c5a83a32f5621918a4bb78b5b4101a350d92189d.tar.bz2 |
Revert 43741 - [Mac] Make Mac phantom tabs match the appearance of the other platforms.
BUG=none
TEST=Open a new tab, navigate, and pin it. Open a new tab. Close the pinned tab. No tab background should be drawn, just the favicon.
Review URL: http://codereview.chromium.org/1562014
TBR=rsesek@chromium.org
Review URL: http://codereview.chromium.org/1627004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_view.mm')
-rw-r--r-- | chrome/browser/cocoa/tab_view.mm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/tab_view.mm b/chrome/browser/cocoa/tab_view.mm index 80b5970..b403f74 100644 --- a/chrome/browser/cocoa/tab_view.mm +++ b/chrome/browser/cocoa/tab_view.mm @@ -599,11 +599,6 @@ const CGFloat kRapidCloseDist = 2.5; } - (void)drawRect:(NSRect)rect { - // If this tab is phantom, do not draw the tab background itself. The only UI - // element that will represent this tab is the favicon. - if ([controller_ phantom]) - return; - NSGraphicsContext* context = [NSGraphicsContext currentContext]; [context saveGraphicsState]; rect = [self bounds]; |