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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp

Issue 1537523003: Add correct equality testing for ComputedStyle's StyleVariableData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 && m_respectImageOrientation == o.m_respectImageOrientation 216 && m_respectImageOrientation == o.m_respectImageOrientation
217 && hyphenationString == o.hyphenationString 217 && hyphenationString == o.hyphenationString
218 && textEmphasisCustomMark == o.textEmphasisCustomMark 218 && textEmphasisCustomMark == o.textEmphasisCustomMark
219 && quotesDataEquivalent(o) 219 && quotesDataEquivalent(o)
220 && m_tabSize == o.m_tabSize 220 && m_tabSize == o.m_tabSize
221 && m_imageRendering == o.m_imageRendering 221 && m_imageRendering == o.m_imageRendering
222 && m_textUnderlinePosition == o.m_textUnderlinePosition 222 && m_textUnderlinePosition == o.m_textUnderlinePosition
223 && m_rubyPosition == o.m_rubyPosition 223 && m_rubyPosition == o.m_rubyPosition
224 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get()) 224 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
225 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations) 225 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations)
226 && variables == o.variables; 226 && dataEquivalent(variables, o.variables);
227 } 227 }
228 228
229 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const 229 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const
230 { 230 {
231 return dataEquivalent(textShadow.get(), o.textShadow.get()); 231 return dataEquivalent(textShadow.get(), o.textShadow.get());
232 } 232 }
233 233
234 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 234 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
235 { 235 {
236 return dataEquivalent(quotes, o.quotes); 236 return dataEquivalent(quotes, o.quotes);
237 } 237 }
238 238
239 } // namespace blink 239 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserToken.h ('k') | third_party/WebKit/Source/core/style/StyleVariableData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698