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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontDescription.h

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 unified diff | Download patch
OLDNEW
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 return m_familyList == other.m_familyList 301 return m_familyList == other.m_familyList
302 && m_locale == other.m_locale 302 && m_locale == other.m_locale
303 && m_specifiedSize == other.m_specifiedSize 303 && m_specifiedSize == other.m_specifiedSize
304 && m_computedSize == other.m_computedSize 304 && m_computedSize == other.m_computedSize
305 && m_adjustedSize == other.m_adjustedSize 305 && m_adjustedSize == other.m_adjustedSize
306 && m_sizeAdjust == other.m_sizeAdjust 306 && m_sizeAdjust == other.m_sizeAdjust
307 && m_letterSpacing == other.m_letterSpacing 307 && m_letterSpacing == other.m_letterSpacing
308 && m_wordSpacing == other.m_wordSpacing 308 && m_wordSpacing == other.m_wordSpacing
309 && m_fieldsAsUnsigned[0] == other.m_fieldsAsUnsigned[0] 309 && m_fieldsAsUnsigned[0] == other.m_fieldsAsUnsigned[0]
310 && m_fieldsAsUnsigned[1] == other.m_fieldsAsUnsigned[1] 310 && m_fieldsAsUnsigned[1] == other.m_fieldsAsUnsigned[1]
311 && m_featureSettings == other.m_featureSettings; 311 && (m_featureSettings == other.m_featureSettings || (m_featureSettings & & other.m_featureSettings && *m_featureSettings == *other.m_featureSettings));
312 } 312 }
313 313
314 } // namespace blink 314 } // namespace blink
315 315
316 #endif 316 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698