mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Rename namespace dawn_wire to dawn::wire.
But keep a namespace alias to avoid breaking project that depend on the previous namespace name while they get updated. Bug: dawn:824 Change-Id: I1e99c4d0d2acf7644a225a88d07806d1a64478e6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75540 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f07477a1ce
commit
5d846ab503
@@ -28,7 +28,7 @@
|
||||
|
||||
namespace {
|
||||
|
||||
class DevNull : public dawn_wire::CommandSerializer {
|
||||
class DevNull : public dawn::wire::CommandSerializer {
|
||||
public:
|
||||
size_t GetMaximumAllocationSize() const override {
|
||||
// Some fuzzer bots have a 2GB allocation limit. Pick a value reasonably below that.
|
||||
@@ -116,11 +116,11 @@ int DawnWireServerFuzzer::Run(const uint8_t* data,
|
||||
}
|
||||
|
||||
DevNull devNull;
|
||||
dawn_wire::WireServerDescriptor serverDesc = {};
|
||||
dawn::wire::WireServerDescriptor serverDesc = {};
|
||||
serverDesc.procs = &procs;
|
||||
serverDesc.serializer = &devNull;
|
||||
|
||||
std::unique_ptr<dawn_wire::WireServer> wireServer(new dawn_wire::WireServer(serverDesc));
|
||||
std::unique_ptr<dawn::wire::WireServer> wireServer(new dawn_wire::WireServer(serverDesc));
|
||||
wireServer->InjectDevice(device.Get(), 1, 0);
|
||||
|
||||
wireServer->HandleCommands(reinterpret_cast<const char*>(data), size);
|
||||
|
||||
Reference in New Issue
Block a user