Commit 30cec5f6 authored by ginkage's avatar ginkage Committed by Commit bot

Fix SEGV in ErrorScreenHandler::HandleHideCaptivePortal.

BUG=475936

Review URL: https://codereview.chromium.org/1086563003

Cr-Commit-Position: refs/heads/master@{#325213}
parent 8c52aa42
......@@ -76,7 +76,8 @@ bool ErrorScreenHandler::GetScreenName(OobeUI::Screen screen,
}
void ErrorScreenHandler::HandleHideCaptivePortal() {
model_->HideCaptivePortal();
if (model_)
model_->HideCaptivePortal();
}
void ErrorScreenHandler::RegisterMessages() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment