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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionEditor.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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: 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 c82677d716d40f0160c076afb579681bd79cc28a..a5d9f7be7fb05773ad13fac28a6b5bc0b2a393d7 100644
--- a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
@@ -582,7 +582,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);
@@ -695,7 +695,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);
}
@@ -850,7 +850,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();
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionEditor.h ('k') | third_party/WebKit/Source/core/editing/SurroundingText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698