Rename SetErrorCallback to SetUncapturedErrorCallback

This is to better match the naming of the uncapturederror event
in WebGPU.

Bug: dawn:153
Change-Id: Ic2bc1f46bf3d1f0d14cbd5cb8ea6e54d1679f987
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10542
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Austin Eng
2019-08-27 21:43:56 +00:00
committed by Commit Bot service account
parent cb0cb658d4
commit 45ea7e66bf
19 changed files with 33 additions and 33 deletions

View File

@@ -161,7 +161,7 @@ dawn::Device CreateCppDawnDevice() {
}
dawnSetProcs(&procs);
procs.deviceSetErrorCallback(cDevice, PrintDeviceError, nullptr);
procs.deviceSetUncapturedErrorCallback(cDevice, PrintDeviceError, nullptr);
return dawn::Device::Acquire(cDevice);
}