Chromium Code Reviews| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm |
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm |
| index cc3f93be1ee3ae65027cbfdde44a968b3bf2eb4a..042d1a288e4a1e7ecdc260888818ad43a17fafaa 100644 |
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm |
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm |
| @@ -405,14 +405,14 @@ BookmarkButton* gDraggedButton = nil; // Weak |
| } |
| - (BOOL)isOpaque { |
| - // Make this control opaque so that sub pixel anti aliasing works when core |
| - // animation is enabled. |
| + // Make this control opaque so that sub-pixel anti-aliasing works when |
| + // CoreAnimation is enabled. |
| return YES; |
| } |
| - (void)drawRect:(NSRect)rect { |
|
ccameron
2014/04/16 19:17:55
I kept trying to change this to use VIEW_ID_TOOLBA
|
| - NSView* toolbarView = [[self superview] superview]; |
| - [self cr_drawUsingAncestor:toolbarView inRect:(NSRect)rect]; |
| + NSView* bookmarkBarToolbarView = [[self superview] superview]; |
| + [self cr_drawUsingAncestor:bookmarkBarToolbarView inRect:(NSRect)rect]; |
| [super drawRect:rect]; |
| } |