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

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, 10 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 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();

Powered by Google App Engine
This is Rietveld 408576698