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

Unified Diff: Source/core/svg/SVGPathSegListBuilder.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.h ('k') | Source/core/svg/SVGPathSegListSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegListBuilder.cpp
diff --git a/Source/core/svg/SVGPathSegListBuilder.cpp b/Source/core/svg/SVGPathSegListBuilder.cpp
index e3ae3856ce79533cc0257b7ef966f6b20d85b540..7a4afb3ee325e2c3d695ee83afd35d9e6c9613fa 100644
--- a/Source/core/svg/SVGPathSegListBuilder.cpp
+++ b/Source/core/svg/SVGPathSegListBuilder.cpp
@@ -50,11 +50,18 @@
namespace blink {
SVGPathSegListBuilder::SVGPathSegListBuilder()
- : m_pathElement(0)
+ : m_pathElement(nullptr)
, m_pathSegList(nullptr)
{
}
+void SVGPathSegListBuilder::trace(Visitor* visitor)
+{
+ visitor->trace(m_pathElement);
+ visitor->trace(m_pathSegList);
+ SVGPathConsumer::trace(visitor);
+}
+
void SVGPathSegListBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode)
{
ASSERT(m_pathElement);
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.h ('k') | Source/core/svg/SVGPathSegListSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698