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

Unified Diff: Source/core/css/resolver/AnimatedStyleBuilder.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
Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index c87dac309e9df75198dc35fe09a4114b54311af6..19e750cfc0233a2da64ecd8daefb571d77848b51 100644
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -144,9 +144,9 @@ void setFillSize(FillLayer* fillLayer, const AnimatableValue* value, const Style
state.styleMap().mapFillSize(fillLayer, toAnimatableUnknown(value)->toCSSValue().get());
}
-PassRefPtr<SVGLength> animatableValueToNonNegativeSVGLength(const AnimatableValue* value)
+PassRefPtrWillBeRawPtr<SVGLength> animatableValueToNonNegativeSVGLength(const AnimatableValue* value)
{
- RefPtr<SVGLength> length = toAnimatableSVGLength(value)->toSVGLength();
+ RefPtrWillBeRawPtr<SVGLength> length = toAnimatableSVGLength(value)->toSVGLength();
if (length->valueInSpecifiedUnits() < 0)
length->setValueInSpecifiedUnits(0);
return length.release();
« no previous file with comments | « Source/core/css/SVGCSSComputedStyleDeclaration.cpp ('k') | Source/core/css/resolver/ElementStyleResources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698