Commit c0c994db authored by Omar Morsi's avatar Omar Morsi Committed by Commit Bot

ExtensionPlatformKeysService: Add a missing return statement

This CL fixes a bug in
ExtensionPlatformKeysService::SignTask::OnCanUseKeyForSigningKnown where
a return statement is missing. That led to calling
ExtensionPlatformKeysService::SignTask::OnCanUseKeyForSigningKnown::DoStep
after the task is finished and deleted.

Bug: 1132926
Change-Id: I0e5be5b4a90e54e045c33e0bfa3568c0737f9272
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435197Reviewed-by: default avatarGayane Petrosyan <gayane@chromium.org>
Reviewed-by: default avatarOmar Morsi <omorsi@google.com>
Commit-Queue: Omar Morsi <omorsi@google.com>
Cr-Commit-Position: refs/heads/master@{#811355}
parent d60a8e3b
......@@ -354,6 +354,7 @@ class ExtensionPlatformKeysService::SignTask : public Task {
platform_keys::Status::kErrorKeyNotAllowedForSigning);
next_step_ = Step::DONE;
DoStep();
return;
}
DoStep();
......
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