| Index: Source/core/dom/RangeBoundaryPoint.h
|
| diff --git a/Source/core/dom/RangeBoundaryPoint.h b/Source/core/dom/RangeBoundaryPoint.h
|
| index b458c7110583c997f2e8c1d343ed2da1fd8e4514..f1d54b02b8c1562163be1e98f095c1471347c3fa 100644
|
| --- a/Source/core/dom/RangeBoundaryPoint.h
|
| +++ b/Source/core/dom/RangeBoundaryPoint.h
|
| @@ -58,7 +58,11 @@ public:
|
| void invalidateOffset() const;
|
| void ensureOffsetIsValid() const;
|
|
|
| - void trace(Visitor*);
|
| + DEFINE_INLINE_TRACE()
|
| + {
|
| + visitor->trace(m_containerNode);
|
| + visitor->trace(m_childBeforeBoundary);
|
| + }
|
|
|
| private:
|
| static const int invalidOffset = -1;
|
| @@ -182,12 +186,6 @@ inline void RangeBoundaryPoint::invalidateOffset() const
|
| m_offsetInContainer = invalidOffset;
|
| }
|
|
|
| -inline void RangeBoundaryPoint::trace(Visitor* visitor)
|
| -{
|
| - visitor->trace(m_containerNode);
|
| - visitor->trace(m_childBeforeBoundary);
|
| -}
|
| -
|
| inline bool operator==(const RangeBoundaryPoint& a, const RangeBoundaryPoint& b)
|
| {
|
| if (a.container() != b.container())
|
|
|