| 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 a33147333886bfb57b08605fe24b7c74a3a2a1cb..5f8ab498b780d8ce2aad14b1096ee93bfe57a98e 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -50,9 +50,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
|
| @@ -117,7 +117,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();
|
|
|
| @@ -130,7 +130,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();
|
|
|
| @@ -143,7 +143,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();
|
|
|
| @@ -168,7 +168,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());
|
|
|