Index: ui/gfx/color_space.cc |
diff --git a/ui/gfx/color_space.cc b/ui/gfx/color_space.cc |
index 9599fe5d587ba376b64ecd8dce4338a28372016a..c3a8975c51420b1c7c37c1c425c71da0ca277080 100644 |
--- a/ui/gfx/color_space.cc |
+++ b/ui/gfx/color_space.cc |
@@ -64,6 +64,10 @@ bool ColorSpace::operator==(const ColorSpace& other) const { |
matrix_ == other.matrix_ && range_ == other.range_; |
} |
+bool ColorSpace::operator!=(const ColorSpace& other) const { |
+ return !(*this == other); |
+} |
+ |
bool ColorSpace::operator<(const ColorSpace& other) const { |
if (primaries_ < other.primaries_) |
return true; |