diff --git a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp index b08e1d14a7..7a993df1d0 100644 --- a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp +++ b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp @@ -39,7 +39,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { dawnProcTable procs = dawn_native::GetProcs(); dawnSetProcs(&procs); - dawn::Device nullDevice = dawn_native::null::CreateDevice(); + dawn::Device nullDevice = dawn::Device::Acquire(dawn_native::null::CreateDevice()); DevNull devNull; std::unique_ptr wireServer(