chromium/third_party/blink/renderer/platform/geometry/geometry_hash_traits.h

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

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_HASH_TRAITS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_HASH_TRAITS_H_

#include "third_party/blink/renderer/platform/wtf/hash_traits.h"
#include "third_party/skia/include/core/SkRect.h"
#include "ui/gfx/geometry/size_f.h"

namespace WTF {

template <>
struct HashTraits<gfx::SizeF> : GenericHashTraits<gfx::SizeF> {};

template <>
struct HashTraits<SkIRect> : GenericHashTraits<SkIRect> {};

}  // namespace WTF

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_HASH_TRAITS_H_