| Index: Source/core/dom/Position.h
|
| diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h
|
| index d423a28660ad850ef4276a5131c3a70a6ef3f3da..d2b1d1e552fa20b0ee464fa32e2dde7ba10a95a4 100644
|
| --- a/Source/core/dom/Position.h
|
| +++ b/Source/core/dom/Position.h
|
| @@ -128,6 +128,7 @@ public:
|
| Node* deprecatedNode() const { return m_anchorNode.get(); }
|
|
|
| Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; }
|
| + bool inDocument() const { return m_anchorNode && m_anchorNode->inDocument(); }
|
| Element* rootEditableElement() const
|
| {
|
| Node* container = containerNode();
|
|
|