Fix for flag-file covering Rollback reset option.

BUG=368844

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273884 0039d316-1c4b-4281-b951-d872f2087c98
parent 52140d88
...@@ -140,7 +140,7 @@ void ResetScreenHandler::ChooseAndApplyShowScenario() { ...@@ -140,7 +140,7 @@ void ResetScreenHandler::ChooseAndApplyShowScenario() {
void ResetScreenHandler::OnRollbackFlagFileCheckDone( void ResetScreenHandler::OnRollbackFlagFileCheckDone(
scoped_ptr<bool> file_exists) { scoped_ptr<bool> file_exists) {
if (!file_exists && !CommandLine::ForCurrentProcess()->HasSwitch( if (!(*file_exists) && !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableRollbackOption)) { switches::kEnableRollbackOption)) {
rollback_available_ = false; rollback_available_ = false;
ShowWithParams(); ShowWithParams();
......
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