[dawn][fuzzers] Fix breakage caused by change of InjectInstance APIs.
Change-Id: Ie448dc8710ecf78b62133b9eabb587ee08efb748
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/175964
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
diff --git a/src/dawn/fuzzers/lpmfuzz/DawnLPMFuzzer.cpp b/src/dawn/fuzzers/lpmfuzz/DawnLPMFuzzer.cpp
index 645ec44..39014b1 100644
--- a/src/dawn/fuzzers/lpmfuzz/DawnLPMFuzzer.cpp
+++ b/src/dawn/fuzzers/lpmfuzz/DawnLPMFuzzer.cpp
@@ -111,7 +111,7 @@
serverDesc.serializer = &devNull;
std::unique_ptr<dawn::wire::WireServer> wireServer(new dawn::wire::WireServer(serverDesc));
- wireServer->InjectInstance(sInstance->Get(), kInstanceObjectId, 0);
+ wireServer->InjectInstance(sInstance->Get(), {kInstanceObjectId, 0});
static dawn::utils::TerribleCommandBuffer* mCommandBuffer =
new dawn::utils::TerribleCommandBuffer();