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

Unified Diff: chrome/browser/chromeos/login/network_screen.cc

Issue 2053001: Fix crash when opening "Select certificate file" in OOBE. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: added correct way to check for OOBE/login mode Created 10 years, 7 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/chromeos/login/network_screen.cc
diff --git a/chrome/browser/chromeos/login/network_screen.cc b/chrome/browser/chromeos/login/network_screen.cc
index 6d80fddf2bccba3c0ec7984f41031a63bfc17d5d..4e50e6e86a23a5df65f98b70e87b11db142ce8e8 100644
--- a/chrome/browser/chromeos/login/network_screen.cc
+++ b/chrome/browser/chromeos/login/network_screen.cc
@@ -203,6 +203,7 @@ void NetworkScreen::NotifyOnOffline() {
void NetworkScreen::OpenPasswordDialog(WifiNetwork network) {
NetworkConfigView* dialog = new NetworkConfigView(network, true);
+ dialog->set_browser_mode(false);
views::Window* window = views::Window::CreateChromeWindow(
view()->GetNativeWindow(), gfx::Rect(), dialog);
window->SetIsAlwaysOnTop(true);
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | chrome/browser/chromeos/options/network_config_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698