blob: 2523199e3b94b3dfb3185a780396cbac9dfad3e2 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/ipc/common/luid_mojom_traits.h"
#include <windows.h>
#include "gpu/gpu_export.h"
#include "gpu/ipc/common/luid.mojom-shared.h"
namespace mojo {
// static
bool StructTraits<gpu::mojom::LuidDataView, ::CHROME_LUID>::Read(
gpu::mojom::LuidDataView data,
::CHROME_LUID* out) {
out->HighPart = data.high();
out->LowPart = data.low();
return true;
}
} // namespace mojo