chromium/skia/public/mojom/skcolorspace_primaries_mojom_traits.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SKIA_PUBLIC_MOJOM_SKCOLORSPACE_PRIMARIES_MOJOM_TRAITS_H_
#define SKIA_PUBLIC_MOJOM_SKCOLORSPACE_PRIMARIES_MOJOM_TRAITS_H_

#include "skia/ext/skcolorspace_primaries.h"
#include "skia/public/mojom/skcolorspace_primaries.mojom.h"
#include "third_party/skia/include/core/SkColorSpace.h"

namespace mojo {

template <>
struct StructTraits<skia::mojom::SkColorSpacePrimariesDataView,
                    ::SkColorSpacePrimaries> {};

}  // namespace mojo

#endif  // SKIA_PUBLIC_MOJOM_SKCOLORSPACE_PRIMARIES_MOJOM_TRAITS_H_