| Index: Source/core/editing/VisibleSelection.h
|
| diff --git a/Source/core/editing/VisibleSelection.h b/Source/core/editing/VisibleSelection.h
|
| index ad5f2ee20957349017c5a5fec8b2ea5fbd422770..1247b7cb9895a79514fcacad0ab03254d1557272 100644
|
| --- a/Source/core/editing/VisibleSelection.h
|
| +++ b/Source/core/editing/VisibleSelection.h
|
| @@ -246,23 +246,6 @@ private:
|
| bool m_isDirectional : 1; // Non-directional ignores m_baseIsFirst and selection always extends on shift + arrow key.
|
| };
|
|
|
| -inline bool operator==(const VisibleSelection& a, const VisibleSelection& b)
|
| -{
|
| - if (a.affinity() != b.affinity() || a.isDirectional() != b.isDirectional())
|
| - return false;
|
| -
|
| - if (a.isNone())
|
| - return b.isNone();
|
| -
|
| - return a.start() == b.start() && a.end() == b.end() && a.affinity() == b.affinity()
|
| - && a.isDirectional() == b.isDirectional() && a.base() == b.base() && a.extent() == b.extent();
|
| -}
|
| -
|
| -inline bool operator!=(const VisibleSelection& a, const VisibleSelection& b)
|
| -{
|
| - return !(a == b);
|
| -}
|
| -
|
| } // namespace blink
|
|
|
| #ifndef NDEBUG
|
|
|