Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
index 4dfaee97ead5fb2983c0c1539405dd525c51f181..6a89e3c53b5321eec53b0925160bad61fc392189 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp |
@@ -57,24 +57,23 @@ DEFINE_TRACE(TextMatchMarkerListImpl) { |
DocumentMarkerList::Trace(visitor); |
} |
-static void UpdateMarkerRenderedRect(const Node& node, |
- TextMatchMarker& marker) { |
+static void UpdateMarkerLayoutRect(const Node& node, TextMatchMarker& marker) { |
const Position start_position(&const_cast<Node&>(node), marker.StartOffset()); |
const Position end_position(&const_cast<Node&>(node), marker.EndOffset()); |
EphemeralRange range(start_position, end_position); |
- marker.SetRenderedRect(LayoutRect(ComputeTextRect(range))); |
+ marker.SetLayoutRect(LayoutRect(ComputeTextRect(range))); |
} |
-Vector<IntRect> TextMatchMarkerListImpl::RenderedRects(const Node& node) const { |
+Vector<IntRect> TextMatchMarkerListImpl::LayoutRects(const Node& node) const { |
Vector<IntRect> result; |
for (DocumentMarker* marker : markers_) { |
TextMatchMarker* const text_match_marker = ToTextMatchMarker(marker); |
if (!text_match_marker->IsValid()) |
- UpdateMarkerRenderedRect(node, *text_match_marker); |
+ UpdateMarkerLayoutRect(node, *text_match_marker); |
if (!text_match_marker->IsRendered()) |
continue; |
- result.push_back(text_match_marker->RenderedRect()); |
+ result.push_back(text_match_marker->GetLayoutRect()); |
} |
return result; |