| Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| index 35b4b14224ae21c79349026f50d490901ceb5510..f77d487d9f69a322cedcc6feae75cf3c3f97f413 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| @@ -408,7 +408,7 @@ int HTMLTextFormControlElement::indexForVisiblePosition(const VisiblePosition& p
|
| if (enclosingTextFormControl(indexPosition) != this)
|
| return 0;
|
| ASSERT(indexPosition.document());
|
| - RefPtrWillBeRawPtr<Range> range = Range::create(*indexPosition.document());
|
| + RawPtr<Range> range = Range::create(*indexPosition.document());
|
| range->setStart(innerEditorElement(), 0, ASSERT_NO_EXCEPTION);
|
| range->setEnd(indexPosition.computeContainerNode(), indexPosition.offsetInContainerNode(), ASSERT_NO_EXCEPTION);
|
| return TextIterator::rangeLength(range->startPosition(), range->endPosition());
|
| @@ -504,7 +504,7 @@ static inline void setContainerAndOffsetForRange(Node* node, int offset, Node*&
|
| }
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Range> HTMLTextFormControlElement::selection() const
|
| +RawPtr<Range> HTMLTextFormControlElement::selection() const
|
| {
|
| if (!layoutObject() || !isTextFormControl())
|
| return nullptr;
|
| @@ -593,7 +593,7 @@ void HTMLTextFormControlElement::selectionChanged(bool userTriggered)
|
|
|
| void HTMLTextFormControlElement::scheduleSelectEvent()
|
| {
|
| - RefPtrWillBeRawPtr<Event> event = Event::createBubble(EventTypeNames::select);
|
| + RawPtr<Event> event = Event::createBubble(EventTypeNames::select);
|
| event->setTarget(this);
|
| document().enqueueUniqueAnimationFrameEvent(event.release());
|
| }
|
| @@ -780,7 +780,7 @@ static Position innerNodePosition(const Position& innerPosition)
|
| ASSERT(!innerPosition.isAfterAnchor());
|
| HTMLElement* element = toHTMLElement(innerPosition.anchorNode());
|
| ASSERT(element);
|
| - RefPtrWillBeRawPtr<NodeList> childNodes = element->childNodes();
|
| + RawPtr<NodeList> childNodes = element->childNodes();
|
| if (!childNodes->length())
|
| return Position(element, 0);
|
|
|
| @@ -810,7 +810,7 @@ static Position findWordBoundary(const HTMLElement* innerEditor, const Position&
|
| {
|
| StringBuilder concatTexts;
|
| Vector<unsigned> lengthList;
|
| - WillBeHeapVector<RawPtrWillBeMember<Text>> textList;
|
| + HeapVector<Member<Text>> textList;
|
|
|
| if (startPosition.anchorNode()->isTextNode())
|
| ASSERT(startPosition.isOffsetInAnchor());
|
|
|