Index: chrome/common/instant_types.cc |
diff --git a/chrome/common/instant_types.cc b/chrome/common/instant_types.cc |
index 1817faa49f26da71b8b0462ef78f80abe7cdd52c..c8673acaa9f038149176e52c7e2bd5fba688bbd4 100644 |
--- a/chrome/common/instant_types.cc |
+++ b/chrome/common/instant_types.cc |
@@ -47,3 +47,16 @@ ThemeBackgroundInfo::ThemeBackgroundInfo() |
ThemeBackgroundInfo::~ThemeBackgroundInfo() { |
} |
+ |
+bool ThemeBackgroundInfo::operator==(const ThemeBackgroundInfo& rhs) const { |
+ return color_r == rhs.color_r && |
+ color_g == rhs.color_g && |
+ color_b == rhs.color_b && |
+ color_a == rhs.color_a && |
+ theme_id == rhs.theme_id && |
+ image_horizontal_alignment == rhs.image_horizontal_alignment && |
+ image_vertical_alignment == rhs.image_vertical_alignment && |
+ image_tiling == rhs.image_tiling && |
+ image_height == rhs.image_height && |
+ has_attribution == rhs.has_attribution; |
+} |