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

Unified Diff: Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
diff --git a/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp b/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
index fdee455dbee485dd4482e641aa5729979d9f644c..232b73bdd3efafc0559778dd1f68470aee08bbd8 100644
--- a/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
+++ b/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
@@ -179,11 +179,11 @@ static inline void updateCharacterData(unsigned i, float& lastRotation, SVGChara
void SVGTextLayoutAttributesBuilder::fillCharacterDataMap(const TextPosition& position)
{
- RefPtr<SVGLengthList> xList = position.element->x()->currentValue();
- RefPtr<SVGLengthList> yList = position.element->y()->currentValue();
- RefPtr<SVGLengthList> dxList = position.element->dx()->currentValue();
- RefPtr<SVGLengthList> dyList = position.element->dy()->currentValue();
- RefPtr<SVGNumberList> rotateList = position.element->rotate()->currentValue();
+ RefPtrWillBeRawPtr<SVGLengthList> xList = position.element->x()->currentValue();
+ RefPtrWillBeRawPtr<SVGLengthList> yList = position.element->y()->currentValue();
+ RefPtrWillBeRawPtr<SVGLengthList> dxList = position.element->dx()->currentValue();
+ RefPtrWillBeRawPtr<SVGLengthList> dyList = position.element->dy()->currentValue();
+ RefPtrWillBeRawPtr<SVGNumberList> rotateList = position.element->rotate()->currentValue();
unsigned xListSize = xList->length();
unsigned yListSize = yList->length();

Powered by Google App Engine
This is Rietveld 408576698