Chromium Code Reviews| Index: Source/core/editing/htmlediting.cpp |
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp |
| index 6c7b309faf972a3ab3f1ef79fcc17fbb298bb8aa..8f6dc705a0a10a04d49eb72f9eef980eebb3b914 100644 |
| --- a/Source/core/editing/htmlediting.cpp |
| +++ b/Source/core/editing/htmlediting.cpp |
| @@ -154,7 +154,7 @@ Node* lowestEditableAncestor(Node* node) |
| bool isEditablePosition(const Position& p, EditableType editableType, EUpdateStyle updateStyle) |
| { |
| - Node* node = p.deprecatedNode(); |
| + Node* node = p.parentAnchoredEquivalent().deprecatedNode(); |
|
Yuta Kitamura
2014/06/06 08:55:07
You should use anchorNode() instead of deprecatedN
yosin_UTC9
2014/06/06 09:26:11
Done.
|
| if (!node) |
| return false; |
| if (updateStyle == UpdateStyle) |