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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005, 2010 Rob Buis <buis@kde.org> 3 2004, 2005, 2010 Rob Buis <buis@kde.org>
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 5
6 Based on khtml code by: 6 Based on khtml code by:
7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) 8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) 9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org)
10 Copyright (C) 2002 Apple Computer, Inc. 10 Copyright (C) 2002 Apple Computer, Inc.
(...skipping 12 matching lines...) Expand all
23 along with this library; see the file COPYING.LIB. If not, write to 23 along with this library; see the file COPYING.LIB. If not, write to
24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 Boston, MA 02110-1301, USA. 25 Boston, MA 02110-1301, USA.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #if ENABLE(SVG) 30 #if ENABLE(SVG)
31 #include "core/rendering/style/SVGRenderStyle.h" 31 #include "core/rendering/style/SVGRenderStyle.h"
32 32
33 #include "core/css/CSSPrimitiveValue.h"
34 #include "core/css/CSSValueList.h"
35 #include "core/dom/NodeRenderStyle.h"
36 #include "core/platform/graphics/IntRect.h"
37 #include "core/svg/SVGStyledElement.h"
38 33
39 using namespace std; 34 using namespace std;
40 35
41 namespace WebCore { 36 namespace WebCore {
42 37
43 SVGRenderStyle::SVGRenderStyle() 38 SVGRenderStyle::SVGRenderStyle()
44 { 39 {
45 static SVGRenderStyle* defaultStyle = new SVGRenderStyle(CreateDefault); 40 static SVGRenderStyle* defaultStyle = new SVGRenderStyle(CreateDefault);
46 41
47 fill = defaultStyle->fill; 42 fill = defaultStyle->fill;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 223
229 if (svg_noninherited_flags.f.maskType != other->svg_noninherited_flags.f.mas kType) 224 if (svg_noninherited_flags.f.maskType != other->svg_noninherited_flags.f.mas kType)
230 return StyleDifferenceRepaint; 225 return StyleDifferenceRepaint;
231 226
232 return StyleDifferenceEqual; 227 return StyleDifferenceEqual;
233 } 228 }
234 229
235 } 230 }
236 231
237 #endif // ENABLE(SVG) 232 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/core/rendering/style/SVGRenderStyleDefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698