summaryrefslogtreecommitdiffstats
path: root/components/favicon_base/fallback_icon_style.h
diff options
context:
space:
mode:
authorhuangs <huangs@chromium.org>2015-05-07 23:27:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-08 06:27:52 +0000
commit73fa324f9528194085909ebcdf54566ddfae28ab (patch)
treea26583bc204c774a63e338a32340c12c7b2676de /components/favicon_base/fallback_icon_style.h
parent09db9160ab8676c5683383c5f39b59fe877a4e32 (diff)
downloadchromium_src-73fa324f9528194085909ebcdf54566ddfae28ab.zip
chromium_src-73fa324f9528194085909ebcdf54566ddfae28ab.tar.gz
chromium_src-73fa324f9528194085909ebcdf54566ddfae28ab.tar.bz2
[Large Icon Service] Adding unit test.
BUG=467712 Review URL: https://codereview.chromium.org/1124803005 Cr-Commit-Position: refs/heads/master@{#328933}
Diffstat (limited to 'components/favicon_base/fallback_icon_style.h')
-rw-r--r--components/favicon_base/fallback_icon_style.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/favicon_base/fallback_icon_style.h b/components/favicon_base/fallback_icon_style.h
index 84842ed..478efb8 100644
--- a/components/favicon_base/fallback_icon_style.h
+++ b/components/favicon_base/fallback_icon_style.h
@@ -30,6 +30,8 @@ struct FallbackIconStyle {
// The roundness of the icon's corners. 0 => square icon, 1 => circle icon.
double roundness;
+
+ bool operator==(const FallbackIconStyle& other) const;
};
// Reassigns |style|'s |text_color| to matches well against |background_color|.