Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index bdbd6665c8e5dae3984333ed050da15e41c3adb5..9cc431655955f19aeefa8f2ecdcca3e51b094ef5 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -354,7 +354,7 @@ void FrameSelection::respondToNodeModification(Node& node, bool baseRemoved, boo |
m_selection.setWithoutValidation(m_selection.start(), m_selection.end()); |
else |
m_selection.setWithoutValidation(m_selection.end(), m_selection.start()); |
- } else if (RefPtr<Range> range = m_selection.firstRange()) { |
+ } else if (RefPtrWillBeRawPtr<Range> range = m_selection.firstRange()) { |
TrackExceptionState exceptionState; |
Range::CompareResults compareResult = range->compareNode(&node, exceptionState); |
if (!exceptionState.hadException() && (compareResult == Range::NODE_BEFORE_AND_AFTER || compareResult == Range::NODE_INSIDE)) { |
@@ -1428,7 +1428,7 @@ bool FrameSelection::setSelectedRange(Range* range, EAffinity affinity, SetSelec |
return true; |
} |
-PassRefPtr<Range> FrameSelection::firstRange() const |
+PassRefPtrWillBeRawPtr<Range> FrameSelection::firstRange() const |
{ |
if (m_logicalRange) |
return m_logicalRange->cloneRange(ASSERT_NO_EXCEPTION); |