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

Unified Diff: chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm

Issue 2375033002: cocoa browser: remove non-MD location bar support (Closed)
Patch Set: fix nits 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/location_bar/manage_passwords_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
index e29bbbe6540e84f43e8221073e0bf1f9b5ba41cc..76789901b9fd1ac8703875f7935cc09bd37ff9ee 100644
--- a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
@@ -87,10 +87,6 @@
return;
}
SetVisible(true);
- if (!ui::MaterialDesignController::IsModeMaterial()) {
- SetImage(OmniboxViewMac::ImageForResource(icon_->icon_id()));
- return;
- }
// |location_bar_| can be NULL in tests.
bool location_bar_is_dark = location_bar_ &&
[[location_bar_->GetAutocompleteTextField() window]

Powered by Google App Engine
This is Rietveld 408576698