| Index: third_party/WebKit/Source/core/editing/Position.h
|
| diff --git a/third_party/WebKit/Source/core/editing/Position.h b/third_party/WebKit/Source/core/editing/Position.h
|
| index 8b49ae6ea228aaea7124c9ed793780828e75e017..84d9221f6203035db688adf57df1f517ec5788b8 100644
|
| --- a/third_party/WebKit/Source/core/editing/Position.h
|
| +++ b/third_party/WebKit/Source/core/editing/Position.h
|
| @@ -137,11 +137,11 @@ public:
|
| Node* anchorNode() const { return m_anchorNode.get(); }
|
|
|
| Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; }
|
| - bool inDocument() const { return m_anchorNode && m_anchorNode->inDocument(); }
|
| + bool inShadowIncludingDocument() const { return m_anchorNode && m_anchorNode->inShadowIncludingDocument(); }
|
|
|
| bool isNull() const { return !m_anchorNode; }
|
| bool isNotNull() const { return m_anchorNode; }
|
| - bool isOrphan() const { return m_anchorNode && !m_anchorNode->inDocument(); }
|
| + bool isOrphan() const { return m_anchorNode && !m_anchorNode->inShadowIncludingDocument(); }
|
|
|
| int compareTo(const PositionTemplate<Strategy>&) const;
|
|
|
|
|