Index: Source/core/dom/Position.cpp |
diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp |
index 02f46bccce011b1e068163eb21caf4f60639ac43..93221719ceb57d88f456d6ba0959943aca0ccebe 100644 |
--- a/Source/core/dom/Position.cpp |
+++ b/Source/core/dom/Position.cpp |
@@ -428,7 +428,7 @@ bool Position::atEditingBoundary() const |
Node* Position::parentEditingBoundary() const |
{ |
- if (!m_anchorNode || !m_anchorNode->document()) |
+ if (!m_anchorNode) |
return 0; |
Node* documentElement = m_anchorNode->document()->documentElement(); |