1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "third_party/blink/renderer/platform/graphics/color_behavior.h" 6 7 #include "base/metrics/histogram_macros.h" 8 #include "third_party/blink/renderer/platform/graphics/bitmap_image_metrics.h" 9 #include "third_party/skia/include/core/SkICC.h" 10 #include "ui/gfx/icc_profile.h" 11 #include "ui/gfx/skia_color_space_util.h" 12 13 namespace blink { 14 operator ==(const ColorBehavior & other) const15bool ColorBehavior::operator==(const ColorBehavior& other) const { 16 if (type_ != other.type_) 17 return false; 18 return true; 19 } 20 operator !=(const ColorBehavior & other) const21bool ColorBehavior::operator!=(const ColorBehavior& other) const { 22 return !(*this == other); 23 } 24 25 } // namespace blink 26