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

Side by Side Diff: Source/core/rendering/svg/RenderSVGRect.cpp

Issue 15427003: Remove 100 superfluous includes from core/rendering/svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back RenderView.h include to RenderSVGResourceContainer.cpp, broke rel compiles 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 University of Szeged 2 * Copyright (C) 2011 University of Szeged
3 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> 3 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org>
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 12 matching lines...) Expand all
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #include "core/rendering/svg/RenderSVGRect.h" 30 #include "core/rendering/svg/RenderSVGRect.h"
31 31
32 #include "SVGNames.h" 32 #include "SVGNames.h"
33 #include "core/svg/SVGRectElement.h"
34 33
35 namespace WebCore { 34 namespace WebCore {
36 35
37 RenderSVGRect::RenderSVGRect(SVGRectElement* node) 36 RenderSVGRect::RenderSVGRect(SVGRectElement* node)
38 : RenderSVGShape(node) 37 : RenderSVGShape(node)
39 , m_usePathFallback(false) 38 , m_usePathFallback(false)
40 { 39 {
41 } 40 }
42 41
43 RenderSVGRect::~RenderSVGRect() 42 RenderSVGRect::~RenderSVGRect()
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 119 }
121 120
122 bool RenderSVGRect::shapeDependentFillContains(const FloatPoint& point, const Wi ndRule fillRule) const 121 bool RenderSVGRect::shapeDependentFillContains(const FloatPoint& point, const Wi ndRule fillRule) const
123 { 122 {
124 if (m_usePathFallback) 123 if (m_usePathFallback)
125 return RenderSVGShape::shapeDependentFillContains(point, fillRule); 124 return RenderSVGShape::shapeDependentFillContains(point, fillRule);
126 return m_fillBoundingBox.contains(point.x(), point.y()); 125 return m_fillBoundingBox.contains(point.x(), point.y());
127 } 126 }
128 127
129 } 128 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGPath.cpp ('k') | Source/core/rendering/svg/RenderSVGResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698