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 a382603cb76c036e428ac7b17a9d8cb10317096d..88faa3a9155c798b8b5698c7759f4197bf15c10e 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontDescription.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontDescription.h |
@@ -308,7 +308,7 @@ inline bool FontDescription::operator==(const FontDescription& other) const |
&& m_wordSpacing == other.m_wordSpacing |
&& m_fieldsAsUnsigned[0] == other.m_fieldsAsUnsigned[0] |
&& m_fieldsAsUnsigned[1] == other.m_fieldsAsUnsigned[1] |
- && m_featureSettings == other.m_featureSettings; |
+ && (m_featureSettings == other.m_featureSettings || (m_featureSettings && other.m_featureSettings && *m_featureSettings == *other.m_featureSettings)); |
} |
} // namespace blink |