| Index: third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontDescription.h b/third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| index b0513fa050b123fc2014a8663ac1a10e5e899efd..68f78c7ab52e9ec67be740e2e97b1aaac29879db 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| @@ -329,6 +329,21 @@ inline bool FontDescription::operator==(const FontDescription& other) const
|
| && (m_featureSettings == other.m_featureSettings || (m_featureSettings && other.m_featureSettings && *m_featureSettings == *other.m_featureSettings));
|
| }
|
|
|
| +inline bool operator==(const FontDescription::FamilyDescription& a, const FontDescription::FamilyDescription& b)
|
| +{
|
| + return a.genericFamily == b.genericFamily && a.family == b.family;
|
| +}
|
| +
|
| +inline bool operator==(const FontDescription::VariantLigatures& a, const FontDescription::VariantLigatures& b)
|
| +{
|
| + return a.common == b.common && a.discretionary == b.discretionary && a.historical == b.historical && a.contextual == b.contextual;
|
| +}
|
| +
|
| +inline bool operator==(const FontDescription::Size& a, const FontDescription::Size& b)
|
| +{
|
| + return a.keyword == b.keyword && a.isAbsolute == b.isAbsolute && a.value == b.value;
|
| +}
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|