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

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

Issue 20253002: core/rendering: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/svg/RenderSVGShape.h ('k') | Source/core/rendering/svg/SVGMarkerData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. 5 * Copyright (C) 2009 Google, Inc.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> 8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com>
9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> 9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org>
10 * Copyright (C) 2011 University of Szeged 10 * Copyright (C) 2011 University of Szeged
(...skipping 23 matching lines...) Expand all
34 #include "core/rendering/HitTestRequest.h" 34 #include "core/rendering/HitTestRequest.h"
35 #include "core/rendering/LayoutRepainter.h" 35 #include "core/rendering/LayoutRepainter.h"
36 #include "core/rendering/PointerEventsHitRules.h" 36 #include "core/rendering/PointerEventsHitRules.h"
37 #include "core/rendering/svg/RenderSVGResourceMarker.h" 37 #include "core/rendering/svg/RenderSVGResourceMarker.h"
38 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" 38 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
39 #include "core/rendering/svg/SVGPathData.h" 39 #include "core/rendering/svg/SVGPathData.h"
40 #include "core/rendering/svg/SVGRenderingContext.h" 40 #include "core/rendering/svg/SVGRenderingContext.h"
41 #include "core/rendering/svg/SVGResources.h" 41 #include "core/rendering/svg/SVGResources.h"
42 #include "core/rendering/svg/SVGResourcesCache.h" 42 #include "core/rendering/svg/SVGResourcesCache.h"
43 #include "core/svg/SVGGraphicsElement.h" 43 #include "core/svg/SVGGraphicsElement.h"
44 #include <wtf/MathExtras.h> 44 #include "wtf/MathExtras.h"
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 RenderSVGShape::RenderSVGShape(SVGGraphicsElement* node) 48 RenderSVGShape::RenderSVGShape(SVGGraphicsElement* node)
49 : RenderSVGModelObject(node) 49 : RenderSVGModelObject(node)
50 , m_needsBoundariesUpdate(false) // Default is false, the cached rects are e mpty from the beginning. 50 , m_needsBoundariesUpdate(false) // Default is false, the cached rects are e mpty from the beginning.
51 , m_needsShapeUpdate(true) // Default is true, so we grab a Path object once from SVGGraphicsElement. 51 , m_needsShapeUpdate(true) // Default is true, so we grab a Path object once from SVGGraphicsElement.
52 , m_needsTransformUpdate(true) // Default is true, so we grab a AffineTransf orm object once from SVGGraphicsElement. 52 , m_needsTransformUpdate(true) // Default is true, so we grab a AffineTransf orm object once from SVGGraphicsElement.
53 { 53 {
54 } 54 }
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 return; 457 return;
458 458
459 ASSERT(m_path); 459 ASSERT(m_path);
460 460
461 SVGMarkerData markerData(m_markerPositions); 461 SVGMarkerData markerData(m_markerPositions);
462 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); 462 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement);
463 markerData.pathIsDone(); 463 markerData.pathIsDone();
464 } 464 }
465 465
466 } 466 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGShape.h ('k') | Source/core/rendering/svg/SVGMarkerData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698