| Index: third_party/WebKit/Source/core/editing/Position.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Position.cpp b/third_party/WebKit/Source/core/editing/Position.cpp
|
| index a7b62df97ea9442ffdd480ef06862b5190a989a7..25387f6ec0b1815ea986cf563f1fd64c35768964 100644
|
| --- a/third_party/WebKit/Source/core/editing/Position.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Position.cpp
|
| @@ -46,7 +46,7 @@ const TreeScope* PositionTemplate<Strategy>::commonAncestorTreeScope(const Posit
|
| {
|
| if (!a.computeContainerNode() || !b.computeContainerNode())
|
| return nullptr;
|
| - return a.computeContainerNode()->treeScope().commonAncestorTreeScope(b.computeContainerNode()->treeScope());
|
| + return a.computeContainerNode()->treeScopeOrDocument().commonAncestorTreeScope(b.computeContainerNode()->treeScopeOrDocument());
|
| }
|
|
|
|
|
|
|