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

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

Issue 2787453002: Revert of Use the same browser instance in the sync confirmation dialog. (Closed)
Patch Set: 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
Index: chrome/browser/ui/webui/signin/signin_error_handler.cc
diff --git a/chrome/browser/ui/webui/signin/signin_error_handler.cc b/chrome/browser/ui/webui/signin/signin_error_handler.cc
index bf606bcfca24819857a84a0877fc59e527bd5e33..4680527565821f724dd384e88f35ae4aac497d4a 100644
--- a/chrome/browser/ui/webui/signin/signin_error_handler.cc
+++ b/chrome/browser/ui/webui/signin/signin_error_handler.cc
@@ -70,8 +70,7 @@
if (duplicate_profile_path_.empty())
CallJavascriptFunction("signin.error.removeSwitchButton");
- signin::SetInitializedModalHeight(signin::GetDesktopBrowser(web_ui()),
- web_ui(), args);
+ signin::SetInitializedModalHeight(web_ui(), args);
// After the dialog is shown, some platforms might have an element focused.
// To be consistent, clear the focused element on all platforms.

Powered by Google App Engine
This is Rietveld 408576698