| 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 4e326e63d6d83ef119233f178d937805f1454e8d..ccb1debc10ac3541a63a21de08e08c999085a01a 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontDescription.h
|
| @@ -320,6 +320,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
|
|
|