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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_view.cc

Issue 2351353002: Update WebUILogin Focus for Mash (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/ui/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc
index e5ce8aaa1d69ab3bfac21275e6db462321c4ea75..266a18b89489945310157abd49b497e58ea6aa15 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc
@@ -355,6 +355,10 @@ void WebUILoginView::LoadURL(const GURL & url) {
->GetView()
->SetBackgroundColor(SK_ColorTRANSPARENT);
+ // There is no Shell instance while running in mash.
+ if (chrome::IsRunningInMash())
+ return;
+
ash::StatusAreaWidgetDelegate* status_area_widget_delegate =
GetStatusAreaWidgetDelegate();
DCHECK(status_area_widget_delegate);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698