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

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

Issue 167603002: Implement 'will-change' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 m_box.init(); 118 m_box.init();
119 visual.init(); 119 visual.init();
120 m_background.init(); 120 m_background.init();
121 surround.init(); 121 surround.init();
122 rareNonInheritedData.init(); 122 rareNonInheritedData.init();
123 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init(); 123 rareNonInheritedData.access()->m_deprecatedFlexibleBox.init();
124 rareNonInheritedData.access()->m_flexibleBox.init(); 124 rareNonInheritedData.access()->m_flexibleBox.init();
125 rareNonInheritedData.access()->m_marquee.init(); 125 rareNonInheritedData.access()->m_marquee.init();
126 rareNonInheritedData.access()->m_multiCol.init(); 126 rareNonInheritedData.access()->m_multiCol.init();
127 rareNonInheritedData.access()->m_transform.init(); 127 rareNonInheritedData.access()->m_transform.init();
128 rareNonInheritedData.access()->m_willChange.init();
128 rareNonInheritedData.access()->m_filter.init(); 129 rareNonInheritedData.access()->m_filter.init();
129 rareNonInheritedData.access()->m_grid.init(); 130 rareNonInheritedData.access()->m_grid.init();
130 rareNonInheritedData.access()->m_gridItem.init(); 131 rareNonInheritedData.access()->m_gridItem.init();
131 rareInheritedData.init(); 132 rareInheritedData.init();
132 inherited.init(); 133 inherited.init();
133 m_svgStyle.init(); 134 m_svgStyle.init();
134 } 135 }
135 136
136 ALWAYS_INLINE RenderStyle::RenderStyle(const RenderStyle& o) 137 ALWAYS_INLINE RenderStyle::RenderStyle(const RenderStyle& o)
137 : RefCounted<RenderStyle>() 138 : RefCounted<RenderStyle>()
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 } 1589 }
1589 1590
1590 void RenderStyle::setBorderImageOutset(const BorderImageLengthBox& outset) 1591 void RenderStyle::setBorderImageOutset(const BorderImageLengthBox& outset)
1591 { 1592 {
1592 if (surround->border.m_image.outset() == outset) 1593 if (surround->border.m_image.outset() == outset)
1593 return; 1594 return;
1594 surround.access()->border.m_image.setOutset(outset); 1595 surround.access()->border.m_image.setOutset(outset);
1595 } 1596 }
1596 1597
1597 } // namespace WebCore 1598 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698