| Index: third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| index 4660cdc132d642e4a044dd681c3aa12748e9e3f5..212a89967c14094a845ea677081c9c5eb93ecef6 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
|
| @@ -581,7 +581,7 @@ static bool isBoundary(TextGranularity granularity)
|
| bool SelectionEditor::modify(EAlteration alter, SelectionDirection direction, TextGranularity granularity, EUserTriggered userTriggered)
|
| {
|
| if (userTriggered == UserTriggered) {
|
| - OwnPtrWillBeRawPtr<FrameSelection> trialFrameSelection = FrameSelection::create();
|
| + RawPtr<FrameSelection> trialFrameSelection = FrameSelection::create();
|
| trialFrameSelection->setSelection(m_selection);
|
| trialFrameSelection->modify(alter, direction, granularity, NotUserTriggered);
|
|
|
| @@ -694,7 +694,7 @@ bool SelectionEditor::modify(EAlteration alter, unsigned verticalDistance, Verti
|
| return false;
|
|
|
| if (userTriggered == UserTriggered) {
|
| - OwnPtrWillBeRawPtr<FrameSelection> trialFrameSelection = FrameSelection::create();
|
| + RawPtr<FrameSelection> trialFrameSelection = FrameSelection::create();
|
| trialFrameSelection->setSelection(m_selection);
|
| trialFrameSelection->modify(alter, verticalDistance, direction, NotUserTriggered);
|
| }
|
| @@ -849,7 +849,7 @@ bool SelectionEditor::setSelectedRange(const EphemeralRange& range, TextAffinity
|
| return true;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Range> SelectionEditor::firstRange() const
|
| +RawPtr<Range> SelectionEditor::firstRange() const
|
| {
|
| if (m_logicalRange)
|
| return m_logicalRange->cloneRange();
|
|
|