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

Side by Side Diff: Source/core/rendering/style/StyleRareInheritedData.cpp

Issue 298723011: Make 'will-change: contents' suppress compositing in subtree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 6 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 | Annotate | Revision Log
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 , m_textAlignLast(RenderStyle::initialTextAlignLast()) 83 , m_textAlignLast(RenderStyle::initialTextAlignLast())
84 , m_textJustify(RenderStyle::initialTextJustify()) 84 , m_textJustify(RenderStyle::initialTextJustify())
85 , m_textOrientation(TextOrientationVerticalRight) 85 , m_textOrientation(TextOrientationVerticalRight)
86 , m_textIndentLine(RenderStyle::initialTextIndentLine()) 86 , m_textIndentLine(RenderStyle::initialTextIndentLine())
87 , m_textIndentType(RenderStyle::initialTextIndentLine()) 87 , m_textIndentType(RenderStyle::initialTextIndentLine())
88 , m_lineBoxContain(RenderStyle::initialLineBoxContain()) 88 , m_lineBoxContain(RenderStyle::initialLineBoxContain())
89 , m_imageRendering(RenderStyle::initialImageRendering()) 89 , m_imageRendering(RenderStyle::initialImageRendering())
90 , m_textUnderlinePosition(RenderStyle::initialTextUnderlinePosition()) 90 , m_textUnderlinePosition(RenderStyle::initialTextUnderlinePosition())
91 , m_rubyPosition(RenderStyle::initialRubyPosition()) 91 , m_rubyPosition(RenderStyle::initialRubyPosition())
92 , m_touchActionDelay(RenderStyle::initialTouchActionDelay()) 92 , m_touchActionDelay(RenderStyle::initialTouchActionDelay())
93 , m_subtreeWillChangeContents(false)
93 , hyphenationLimitBefore(-1) 94 , hyphenationLimitBefore(-1)
94 , hyphenationLimitAfter(-1) 95 , hyphenationLimitAfter(-1)
95 , hyphenationLimitLines(-1) 96 , hyphenationLimitLines(-1)
96 , m_tabSize(RenderStyle::initialTabSize()) 97 , m_tabSize(RenderStyle::initialTabSize())
97 , tapHighlightColor(RenderStyle::initialTapHighlightColor()) 98 , tapHighlightColor(RenderStyle::initialTapHighlightColor())
98 { 99 {
99 } 100 }
100 101
101 StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o) 102 StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
102 : RefCounted<StyleRareInheritedData>() 103 : RefCounted<StyleRareInheritedData>()
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 , m_textAlignLast(o.m_textAlignLast) 139 , m_textAlignLast(o.m_textAlignLast)
139 , m_textJustify(o.m_textJustify) 140 , m_textJustify(o.m_textJustify)
140 , m_textOrientation(o.m_textOrientation) 141 , m_textOrientation(o.m_textOrientation)
141 , m_textIndentLine(o.m_textIndentLine) 142 , m_textIndentLine(o.m_textIndentLine)
142 , m_textIndentType(o.m_textIndentType) 143 , m_textIndentType(o.m_textIndentType)
143 , m_lineBoxContain(o.m_lineBoxContain) 144 , m_lineBoxContain(o.m_lineBoxContain)
144 , m_imageRendering(o.m_imageRendering) 145 , m_imageRendering(o.m_imageRendering)
145 , m_textUnderlinePosition(o.m_textUnderlinePosition) 146 , m_textUnderlinePosition(o.m_textUnderlinePosition)
146 , m_rubyPosition(o.m_rubyPosition) 147 , m_rubyPosition(o.m_rubyPosition)
147 , m_touchActionDelay(o.m_touchActionDelay) 148 , m_touchActionDelay(o.m_touchActionDelay)
149 , m_subtreeWillChangeContents(o.m_subtreeWillChangeContents)
148 , hyphenationString(o.hyphenationString) 150 , hyphenationString(o.hyphenationString)
149 , hyphenationLimitBefore(o.hyphenationLimitBefore) 151 , hyphenationLimitBefore(o.hyphenationLimitBefore)
150 , hyphenationLimitAfter(o.hyphenationLimitAfter) 152 , hyphenationLimitAfter(o.hyphenationLimitAfter)
151 , hyphenationLimitLines(o.hyphenationLimitLines) 153 , hyphenationLimitLines(o.hyphenationLimitLines)
152 , locale(o.locale) 154 , locale(o.locale)
153 , textEmphasisCustomMark(o.textEmphasisCustomMark) 155 , textEmphasisCustomMark(o.textEmphasisCustomMark)
154 , m_tabSize(o.m_tabSize) 156 , m_tabSize(o.m_tabSize)
155 , tapHighlightColor(o.tapHighlightColor) 157 , tapHighlightColor(o.tapHighlightColor)
156 , appliedTextDecorations(o.appliedTextDecorations) 158 , appliedTextDecorations(o.appliedTextDecorations)
157 { 159 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 && textEmphasisFill == o.textEmphasisFill 203 && textEmphasisFill == o.textEmphasisFill
202 && textEmphasisMark == o.textEmphasisMark 204 && textEmphasisMark == o.textEmphasisMark
203 && textEmphasisPosition == o.textEmphasisPosition 205 && textEmphasisPosition == o.textEmphasisPosition
204 && m_touchActionDelay == o.m_touchActionDelay 206 && m_touchActionDelay == o.m_touchActionDelay
205 && m_textAlignLast == o.m_textAlignLast 207 && m_textAlignLast == o.m_textAlignLast
206 && m_textJustify == o.m_textJustify 208 && m_textJustify == o.m_textJustify
207 && m_textOrientation == o.m_textOrientation 209 && m_textOrientation == o.m_textOrientation
208 && m_textIndentLine == o.m_textIndentLine 210 && m_textIndentLine == o.m_textIndentLine
209 && m_textIndentType == o.m_textIndentType 211 && m_textIndentType == o.m_textIndentType
210 && m_lineBoxContain == o.m_lineBoxContain 212 && m_lineBoxContain == o.m_lineBoxContain
213 && m_subtreeWillChangeContents == o.m_subtreeWillChangeContents
211 && hyphenationString == o.hyphenationString 214 && hyphenationString == o.hyphenationString
212 && locale == o.locale 215 && locale == o.locale
213 && textEmphasisCustomMark == o.textEmphasisCustomMark 216 && textEmphasisCustomMark == o.textEmphasisCustomMark
214 && quotesDataEquivalent(o) 217 && quotesDataEquivalent(o)
215 && m_tabSize == o.m_tabSize 218 && m_tabSize == o.m_tabSize
216 && m_imageRendering == o.m_imageRendering 219 && m_imageRendering == o.m_imageRendering
217 && m_textUnderlinePosition == o.m_textUnderlinePosition 220 && m_textUnderlinePosition == o.m_textUnderlinePosition
218 && m_rubyPosition == o.m_rubyPosition 221 && m_rubyPosition == o.m_rubyPosition
219 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get()) 222 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
220 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations); 223 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations);
221 } 224 }
222 225
223 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const 226 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const
224 { 227 {
225 return dataEquivalent(textShadow.get(), o.textShadow.get()); 228 return dataEquivalent(textShadow.get(), o.textShadow.get());
226 } 229 }
227 230
228 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 231 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
229 { 232 {
230 return dataEquivalent(quotes, o.quotes); 233 return dataEquivalent(quotes, o.quotes);
231 } 234 }
232 235
233 } // namespace WebCore 236 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698