| Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| index 7f134aca6fdab2c5f0ed47e0f1936b624bf86703..b4a994169560e6180cab812a233da29d0663ad0c 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -49,9 +49,9 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGLengthAd
|
| // It should return getComputedTextLength() when textLength is not specified manually.
|
| class SVGAnimatedTextLength final : public SVGAnimatedLength {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGAnimatedTextLength> create(SVGTextContentElement* contextElement)
|
| + static RawPtr<SVGAnimatedTextLength> create(SVGTextContentElement* contextElement)
|
| {
|
| - return adoptRefWillBeNoop(new SVGAnimatedTextLength(contextElement));
|
| + return (new SVGAnimatedTextLength(contextElement));
|
| }
|
|
|
| SVGLengthTearOff* baseVal() override
|
| @@ -116,7 +116,7 @@ float SVGTextContentElement::getSubStringLength(unsigned charnum, unsigned nchar
|
| return SVGTextQuery(layoutObject()).subStringLength(charnum, nchars);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| +RawPtr<SVGPointTearOff> SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| @@ -129,7 +129,7 @@ PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGTextContentElement::getStartPositionO
|
| return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGTextContentElement::getEndPositionOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| +RawPtr<SVGPointTearOff> SVGTextContentElement::getEndPositionOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| @@ -142,7 +142,7 @@ PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGTextContentElement::getEndPositionOfC
|
| return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGRectTearOff> SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| +RawPtr<SVGRectTearOff> SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionState& exceptionState)
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| @@ -167,7 +167,7 @@ float SVGTextContentElement::getRotationOfChar(unsigned charnum, ExceptionState&
|
| return SVGTextQuery(layoutObject()).rotationOfCharacter(charnum);
|
| }
|
|
|
| -int SVGTextContentElement::getCharNumAtPosition(PassRefPtrWillBeRawPtr<SVGPointTearOff> point, ExceptionState& exceptionState)
|
| +int SVGTextContentElement::getCharNumAtPosition(RawPtr<SVGPointTearOff> point, ExceptionState& exceptionState)
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
| return SVGTextQuery(layoutObject()).characterNumberAtPosition(point->target()->value());
|
|
|