summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_view.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/tab_view.mm')
-rw-r--r--chrome/browser/cocoa/tab_view.mm5
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];