| Index: Source/core/editing/htmlediting.cpp
|
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp
|
| index 858d2e4a51e38575cdd74a96aad6ef3aa0aaad5c..920b4aaa4b4fb0a824c5df2fa163f5e811382813 100644
|
| --- a/Source/core/editing/htmlediting.cpp
|
| +++ b/Source/core/editing/htmlediting.cpp
|
| @@ -138,10 +138,6 @@ Node* highestEditableRoot(const Position& position, EditableType editableType)
|
|
|
| Node* lowestEditableAncestor(Node* node)
|
| {
|
| - if (!node)
|
| - return 0;
|
| -
|
| - Node* lowestRoot = 0;
|
| while (node) {
|
| if (node->rendererIsEditable())
|
| return node->rootEditableElement();
|
| @@ -150,7 +146,7 @@ Node* lowestEditableAncestor(Node* node)
|
| node = node->parentNode();
|
| }
|
|
|
| - return lowestRoot;
|
| + return 0;
|
| }
|
|
|
| bool isEditablePosition(const Position& p, EditableType editableType, EUpdateStyle updateStyle)
|
|
|