| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 && m_computedSize == other.m_computedSize | 322 && m_computedSize == other.m_computedSize |
| 323 && m_adjustedSize == other.m_adjustedSize | 323 && m_adjustedSize == other.m_adjustedSize |
| 324 && m_sizeAdjust == other.m_sizeAdjust | 324 && m_sizeAdjust == other.m_sizeAdjust |
| 325 && m_letterSpacing == other.m_letterSpacing | 325 && m_letterSpacing == other.m_letterSpacing |
| 326 && m_wordSpacing == other.m_wordSpacing | 326 && m_wordSpacing == other.m_wordSpacing |
| 327 && m_fieldsAsUnsigned.parts[0] == other.m_fieldsAsUnsigned.parts[0] | 327 && m_fieldsAsUnsigned.parts[0] == other.m_fieldsAsUnsigned.parts[0] |
| 328 && m_fieldsAsUnsigned.parts[1] == other.m_fieldsAsUnsigned.parts[1] | 328 && m_fieldsAsUnsigned.parts[1] == other.m_fieldsAsUnsigned.parts[1] |
| 329 && (m_featureSettings == other.m_featureSettings || (m_featureSettings &
& other.m_featureSettings && *m_featureSettings == *other.m_featureSettings)); | 329 && (m_featureSettings == other.m_featureSettings || (m_featureSettings &
& other.m_featureSettings && *m_featureSettings == *other.m_featureSettings)); |
| 330 } | 330 } |
| 331 | 331 |
| 332 inline bool operator==(const FontDescription::FamilyDescription& a, const FontDe
scription::FamilyDescription& b) |
| 333 { |
| 334 return a.genericFamily == b.genericFamily && a.family == b.family; |
| 335 } |
| 336 |
| 337 inline bool operator==(const FontDescription::VariantLigatures& a, const FontDes
cription::VariantLigatures& b) |
| 338 { |
| 339 return a.common == b.common && a.discretionary == b.discretionary && a.histo
rical == b.historical && a.contextual == b.contextual; |
| 340 } |
| 341 |
| 342 inline bool operator==(const FontDescription::Size& a, const FontDescription::Si
ze& b) |
| 343 { |
| 344 return a.keyword == b.keyword && a.isAbsolute == b.isAbsolute && a.value ==
b.value; |
| 345 } |
| 346 |
| 332 } // namespace blink | 347 } // namespace blink |
| 333 | 348 |
| 334 #endif | 349 #endif |
| OLD | NEW |