Index: Source/core/editing/VisibleSelection.cpp |
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp |
index 7fdcd43813dae7339fb0bfad1e9bf166407d7495..91618e7b5310bf83c9da9c625e9e767ef3cfc685 100644 |
--- a/Source/core/editing/VisibleSelection.cpp |
+++ b/Source/core/editing/VisibleSelection.cpp |
@@ -273,7 +273,7 @@ static PassRefPtrWillBeRawPtr<Range> makeSearchRange(const Position& pos) |
Node* de = d.documentElement(); |
if (!de) |
return nullptr; |
- Node* boundary = n->enclosingBlockFlowElement(); |
+ Node* boundary = enclosingBlockFlowElement(*n); |
if (!boundary) |
return nullptr; |