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

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

Issue 23668002: Avoid leaking ThreadingPrimitives.h from StackStats.h when collection is off. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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) 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 StyleColor fallbackColor; 133 StyleColor fallbackColor;
134 if (requiresStroke && !RenderSVGResource::strokePaintingResource(this, style (), fallbackColor)) 134 if (requiresStroke && !RenderSVGResource::strokePaintingResource(this, style (), fallbackColor))
135 return false; 135 return false;
136 136
137 return shapeDependentStrokeContains(point); 137 return shapeDependentStrokeContains(point);
138 } 138 }
139 139
140 void RenderSVGShape::layout() 140 void RenderSVGShape::layout()
141 { 141 {
142 StackStats::LayoutCheckPoint layoutCheckPoint;
143 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL ayout(this) && selfNeedsLayout()); 142 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL ayout(this) && selfNeedsLayout());
144 SVGGraphicsElement* element = toSVGGraphicsElement(node()); 143 SVGGraphicsElement* element = toSVGGraphicsElement(node());
145 144
146 bool updateCachedBoundariesInParents = false; 145 bool updateCachedBoundariesInParents = false;
147 146
148 if (m_needsShapeUpdate || m_needsBoundariesUpdate) { 147 if (m_needsShapeUpdate || m_needsBoundariesUpdate) {
149 updateShapeFromElement(); 148 updateShapeFromElement();
150 m_needsShapeUpdate = false; 149 m_needsShapeUpdate = false;
151 updateRepaintBoundingBox(); 150 updateRepaintBoundingBox();
152 m_needsBoundariesUpdate = false; 151 m_needsBoundariesUpdate = false;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 return; 458 return;
460 459
461 ASSERT(m_path); 460 ASSERT(m_path);
462 461
463 SVGMarkerData markerData(m_markerPositions); 462 SVGMarkerData markerData(m_markerPositions);
464 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); 463 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement);
465 markerData.pathIsDone(); 464 markerData.pathIsDone();
466 } 465 }
467 466
468 } 467 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/core/rendering/svg/RenderSVGText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698