| Index: third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| index 6bc2b816ec85912f6aa16b91598d0f7f829f08d4..5684cc449fb9ffecf989971f39f5394245b9758f 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -588,7 +588,7 @@ static Element* lowestEditableAncestor(Node* node)
|
| {
|
| while (node) {
|
| if (node->hasEditableStyle())
|
| - return node->rootEditableElement();
|
| + return rootEditableElement(*node);
|
| if (isHTMLBodyElement(*node))
|
| break;
|
| node = node->parentNode();
|
|
|