Commit 173b6579 authored by Ted Meyer's avatar Ted Meyer Committed by Chromium LUCI CQ

Keep |received_error_| around

Just in case it ever gets called twice, we don't want to move the error
out.

Change-Id: I6d091b2c56fa7e07ce0b1ca08f079d87621d592e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631188Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
Commit-Queue: Frank Liberato <liberato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843854}
parent 1d5244e9
...@@ -118,8 +118,7 @@ Status DefaultTexture2DWrapper::ProcessTexture( ...@@ -118,8 +118,7 @@ Status DefaultTexture2DWrapper::ProcessTexture(
// from some previous operation. // from some previous operation.
// TODO(liberato): Return the error. // TODO(liberato): Return the error.
if (received_error_) if (received_error_)
return Status(StatusCode::kProcessTextureFailed) return Status(StatusCode::kProcessTextureFailed);
.AddCause(std::move(*received_error_));
// TODO(liberato): make sure that |mailbox_holders_| is zero-initialized in // TODO(liberato): make sure that |mailbox_holders_| is zero-initialized in
// case we don't use all the planes. // case we don't use all the planes.
......
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