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

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service.cc

Issue 2708073002: Removing pre-material design menu setting. (Closed)
Patch Set: Removing header Created 3 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/login_ui_service.cc
diff --git a/chrome/browser/ui/webui/signin/login_ui_service.cc b/chrome/browser/ui/webui/signin/login_ui_service.cc
index 9b8da8d1d0aa7dc1a8913c1c40c7fd6888e2ca2a..c54cdc99d5d9490ca206a406eea0f809a0d31305 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.cc
+++ b/chrome/browser/ui/webui/signin/login_ui_service.cc
@@ -73,7 +73,7 @@ void LoginUIService::DisplayLoginResult(Browser* browser,
#endif
last_login_result_ = error_message;
last_login_error_email_ = email;
- if (switches::IsMaterialDesignUserMenu() && !error_message.empty()) {
+ if (!error_message.empty()) {
if (browser)
browser->ShowModalSigninErrorWindow();
else
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698