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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc

Issue 1307093004: Remove references to IsNewAvatarMenu since the flag was removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review feedback Created 5 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/views/sync/profile_signin_confirmation_dialog_views.cc
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
index eda8fa5fdb861faeef3b1a2ad136392eafa73af7..533964f7c6d554042644f53d596a724e4a99ec97 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
@@ -59,8 +59,7 @@ void ProfileSigninConfirmationDialogViews::ShowDialog(
// bubble.
// TODO(guohui): removes the workaround once the profile confirmation dialog
// is fixed.
- if (switches::IsNewAvatarMenu() && ProfileChooserView::IsShowing())
- ProfileChooserView::Hide();
+ ProfileChooserView::Hide();
ProfileSigninConfirmationDialogViews* dialog =
new ProfileSigninConfirmationDialogViews(

Powered by Google App Engine
This is Rietveld 408576698