Commit 95af588f authored by Maksim Ivanov's avatar Maksim Ivanov Committed by Commit Bot

Fix use-after-move in //content/browser/webauth/authenticator_common.cc

Fix use-after-move (potential) bugs found by the
"bugprone-use-after-move" clang-tidy check.

Bug: 1122844
Change-Id: Icb54c2f9e02ca7efc89d5674d22daed4ac1f971a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2383022Reviewed-by: default avatarAdam Langley <agl@chromium.org>
Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803100}
parent 8855c4f3
...@@ -1064,7 +1064,7 @@ void AuthenticatorCommon::GetAssertion( ...@@ -1064,7 +1064,7 @@ void AuthenticatorCommon::GetAssertion(
NOTREACHED(); NOTREACHED();
InvokeCallbackAndCleanup( InvokeCallbackAndCleanup(
std::move(callback), std::move(get_assertion_response_callback_),
blink::mojom::AuthenticatorStatus::UNKNOWN_ERROR); blink::mojom::AuthenticatorStatus::UNKNOWN_ERROR);
return; return;
} }
......
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