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

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 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/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
diff --git a/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp b/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp
index ff4cd225ef401bb6c7db852f101e569d0ebe41cc..1086edd1e60738ae4c92a6f56044fb92a50099ce 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();
« no previous file with comments | « Source/core/rendering/svg/SVGRenderingContext.h ('k') | Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698