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

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

Issue 2339143003: Revert of BackgroundGradientView: -drawBackground: → -drawRect: (Closed)
Patch Set: Created 4 years, 3 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_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_view_cocoa.mm b/chrome/browser/ui/cocoa/find_bar/find_bar_view_cocoa.mm
index 660f4a0e625194d9d3017cb06fadc5153dce84c6..2a56bc95c3f71db18dfd96cbad93b30f6533585f 100644
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_view_cocoa.mm
@@ -75,7 +75,7 @@
{
gfx::ScopedNSGraphicsContextSaveGState scopedGState;
[path addClip];
- [super drawRect:dirtyRect];
+ [self drawBackground:dirtyRect];
}
[[self strokeColor] set];
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_shelf_view_cocoa.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698