| Index: Source/core/editing/VisiblePosition.cpp
|
| diff --git a/Source/core/editing/VisiblePosition.cpp b/Source/core/editing/VisiblePosition.cpp
|
| index 4e9143e54e075f79c754781d676ee90002c60d5a..b9956e6b411c233e756e19b32d717e75181a360f 100644
|
| --- a/Source/core/editing/VisiblePosition.cpp
|
| +++ b/Source/core/editing/VisiblePosition.cpp
|
| @@ -772,19 +772,6 @@ void VisiblePosition::showTreeForThis() const
|
|
|
| #endif
|
|
|
| -EphemeralRange makeRange(const VisiblePosition &start, const VisiblePosition &end)
|
| -{
|
| - if (start.isNull() || end.isNull())
|
| - return EphemeralRange();
|
| -
|
| - Position s = start.deepEquivalent().parentAnchoredEquivalent();
|
| - Position e = end.deepEquivalent().parentAnchoredEquivalent();
|
| - if (s.isNull() || e.isNull())
|
| - return EphemeralRange();
|
| -
|
| - return EphemeralRange(s, e);
|
| -}
|
| -
|
| DEFINE_TRACE(VisiblePosition)
|
| {
|
| visitor->trace(m_deepPosition);
|
|
|