Chromium Code Reviews| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
| index 96aedc5b4c84f6e8d864b1d9da268232acd0a8be..b13de1a477cfea96c3b352523ba24aac6ef2d70c 100644 |
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
| @@ -2456,8 +2456,8 @@ static BOOL ValueInRangeInclusive(CGFloat low, CGFloat value, CGFloat high) { |
| return NSHeight([[browserController tabContentArea] frame]); |
| } |
| -- (ThemeService*)themeService { |
| - return ThemeServiceFactory::GetForProfile(browser_->profile()); |
| +- (Profile*)profile { |
|
groby-ooo-7-16
2015/12/11 02:32:00
Do we need this method at all?
The protocol is on
Evan Stade
2015/12/11 19:36:58
but where it's used, it's cast as a BookmarkBarToo
|
| + return browser_->profile(); |
| } |
| #pragma mark BookmarkButtonDelegate Protocol |