| Index: third_party/WebKit/Source/core/page/TouchAdjustment.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
|
| index 57c1e3c8d52c8962da65314cc90df1777a3ce9f0..f2d31df84715ba34ddf834812da3b11d37b5eb46 100644
|
| --- a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
|
| +++ b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
|
| @@ -116,7 +116,7 @@ bool providesContextMenuItems(Node* node)
|
| ASSERT(node->layoutObject() || node->isShadowRoot());
|
| if (!node->layoutObject())
|
| return false;
|
| - if (node->isContentEditable())
|
| + if (isContentEditable(*node))
|
| return true;
|
| if (node->isLink())
|
| return true;
|
| @@ -298,10 +298,10 @@ void compileSubtargetList(const HeapVector<Member<Node>>& intersectedNodes, Subt
|
| // Consolidate bounds for editable content.
|
| if (editableAncestors.contains(candidate))
|
| continue;
|
| - if (candidate->isContentEditable()) {
|
| + if (isContentEditable(*candidate)) {
|
| Node* replacement = candidate;
|
| Node* parent = candidate->parentOrShadowHostNode();
|
| - while (parent && parent->isContentEditable()) {
|
| + while (parent && isContentEditable(*parent)) {
|
| replacement = parent;
|
| if (editableAncestors.contains(replacement)) {
|
| replacement = nullptr;
|
|
|