Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp

Issue 1887613002: Compare font-feature-settings as part of Font::operator==(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp b/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp
index 78caa10b5ce50de3bafa6dec030c23463b63dd19..46bd9368825c85906d141a954d8d03ef183ad2b6 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.cpp
@@ -33,7 +33,7 @@ FontFeature::FontFeature(const AtomicString& tag, int value)
{
}
-bool FontFeature::operator==(const FontFeature& other)
+bool FontFeature::operator==(const FontFeature& other) const
{
return m_tag == other.m_tag && m_value == other.m_value;
}
@@ -42,4 +42,9 @@ FontFeatureSettings::FontFeatureSettings()
{
}
+bool FontFeatureSettings::operator==(const FontFeatureSettings& other) const
+{
+ return m_list == other.m_list;
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698