Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 7e82d300fca1e6497bb7bf83caa38bf61647ec67..00240cc8108c383cf5aefed609830af4cd32c56f 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -114,7 +114,7 @@ Node* FrameSelection::rootEditableElementOrTreeScopeRootNode() const |
return selectionRoot; |
Node* node = m_selection.base().containerNode(); |
- return node ? node->treeScope().rootNode() : 0; |
+ return node ? node->treeScope()->rootNode() : 0; |
} |
Element* FrameSelection::rootEditableElementRespectingShadowTree() const |