mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-19 01:46:35 +00:00
Factor wire server handlers into proper command handlers and doers
Bug: dawn:88 Change-Id: If637e7ac694d68ad7a4a1e85fd241e8b48e62f6a Reviewed-on: https://dawn-review.googlesource.com/c/4060 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
3b71e65658
commit
62e83971ca
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace dawn_wire { namespace server {
|
||||
|
||||
void Server::ForwardDeviceErrorToServer(const char* message, dawnCallbackUserdata userdata) {
|
||||
void Server::ForwardDeviceError(const char* message, dawnCallbackUserdata userdata) {
|
||||
auto server = reinterpret_cast<Server*>(static_cast<intptr_t>(userdata));
|
||||
server->OnDeviceError(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user