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

Unified Diff: Source/core/rendering/svg/SVGRenderTreeAsText.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/rendering/svg/SVGRenderSupport.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
index 3e95b0c9fa035759de525f478ef2299887ed19a9..8cf3c9b065fcfa3fb36a60778baf5ea88ee4376e 100644
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
@@ -289,7 +289,7 @@ static void writeStyle(TextStream& ts, const RenderObject& object)
SVGLengthContext lengthContext(shape.element());
double dashOffset = svgStyle.strokeDashOffset()->value(lengthContext);
double strokeWidth = svgStyle.strokeWidth()->value(lengthContext);
- RefPtr<SVGLengthList> dashes = svgStyle.strokeDashArray();
+ RefPtrWillBeRawPtr<SVGLengthList> dashes = svgStyle.strokeDashArray();
DashArray dashArray;
SVGLengthList::ConstIterator it = dashes->begin();
@@ -513,8 +513,8 @@ void writeSVGResourceContainer(TextStream& ts, const RenderObject& object, int i
// Creating a placeholder filter which is passed to the builder.
FloatRect dummyRect;
IntRect dummyIntRect;
- RefPtr<SVGFilter> dummyFilter = SVGFilter::create(dummyIntRect, dummyRect, dummyRect, true);
- if (RefPtr<SVGFilterBuilder> builder = filter->buildPrimitives(dummyFilter.get())) {
+ RefPtrWillBeRawPtr<SVGFilter> dummyFilter = SVGFilter::create(dummyIntRect, dummyRect, dummyRect, true);
+ if (RefPtrWillBeRawPtr<SVGFilterBuilder> builder = filter->buildPrimitives(dummyFilter.get())) {
if (FilterEffect* lastEffect = builder->lastEffect())
lastEffect->externalRepresentation(ts, indent + 1);
}
« no previous file with comments | « Source/core/rendering/svg/SVGRenderSupport.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698