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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm

Issue 2394523002: cocoa browser: remove non-MD bookmark bar support (Closed)
Patch Set: Created 4 years, 2 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/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 1f795a3fbd2c063c04eec66d036a04d3776fe95b..86e5c947692a8cc27f533e004e715d5d79eb12f8 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm
@@ -433,10 +433,6 @@ - (void)drawRect:(NSRect)rect {
}
- (void)updateIconToMatchTheme {
- if (!ui::MaterialDesignController::IsModeMaterial()) {
- return;
- }
-
// During testing, the window might not be a browser window, and the
// superview might not be a BookmarkBarView.
if (![[self window] respondsToSelector:@selector(hasDarkTheme)] ||

Powered by Google App Engine
This is Rietveld 408576698