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

Unified Diff: chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc

Issue 1086563003: Fix SEGV in ErrorScreenHandler::HandleHideCaptivePortal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/ui/webui/chromeos/login/error_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc
index 8704075397ec3cde1a56469d10141a8e60741e85..dd6c6030334e168f1aa25056271cddbf71bec220 100644
--- a/chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc
@@ -76,7 +76,8 @@ bool ErrorScreenHandler::GetScreenName(OobeUI::Screen screen,
}
void ErrorScreenHandler::HandleHideCaptivePortal() {
- model_->HideCaptivePortal();
+ if (model_)
+ model_->HideCaptivePortal();
}
void ErrorScreenHandler::RegisterMessages() {
« 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