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 0b5ab3025c1b39c2eec0e2011df59b752171f18c..7c87156fbd76f1cf595d66ac7a4e22632649345c 100644 |
--- a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
+++ b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
@@ -130,7 +130,7 @@ bool providesContextMenuItems(Node* node) |
return true; |
// Only the selected part of the layoutObject is a valid target, but this will be corrected in |
// appendContextSubtargetsForNode. |
- if (node->layoutObject()->selectionState() != SelectionNone) |
+ if (node->layoutObject()->getSelectionState() != SelectionNone) |
return true; |
} |
return false; |
@@ -184,11 +184,11 @@ static inline void appendContextSubtargetsForNode(Node* node, SubtargetGeometryL |
lastOffset = offset; |
} |
} else { |
- if (textLayoutObject->selectionState() == SelectionNone) |
+ if (textLayoutObject->getSelectionState() == SelectionNone) |
return appendBasicSubtargetsForNode(node, subtargets); |
// If selected, make subtargets out of only the selected part of the text. |
int startPos, endPos; |
- switch (textLayoutObject->selectionState()) { |
+ switch (textLayoutObject->getSelectionState()) { |
case SelectionInside: |
startPos = 0; |
endPos = textLayoutObject->textLength(); |