Better fix for DAWN_NO_DISCARD on WireResult
The attribute was just in the wrong place, I shouldn't have removed it completely. Bug: chromium:1195827 Change-Id: Iad2a5fdcc2e8bd76ddb82cc09cde62c3a57e3c54 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46800 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
2cccd5a70c
commit
68c226db43
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
namespace dawn_wire {
|
namespace dawn_wire {
|
||||||
|
|
||||||
enum class WireResult {
|
enum class DAWN_NO_DISCARD WireResult {
|
||||||
Success,
|
Success,
|
||||||
FatalError,
|
FatalError,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue