diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc b/chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc index 797cf3c2c68..276a5f1fd46 100644 --- a/chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc +++ b/chromium/third_party/blink/renderer/core/editing/markers/text_match_marker.cc @@ -27,21 +27,21 @@ bool TextMatchMarker::IsRendered() const { return layout_status_ == LayoutStatus::kValidNotNull; } -bool TextMatchMarker::Contains(const LayoutPoint& point) const { +bool TextMatchMarker::Contains(const PhysicalOffset& point) const { DCHECK_EQ(layout_status_, LayoutStatus::kValidNotNull); - return layout_rect_.Contains(point); + return rect_.Contains(point); } -void TextMatchMarker::SetLayoutRect(const LayoutRect& rect) { - if (layout_status_ == LayoutStatus::kValidNotNull && rect == layout_rect_) +void TextMatchMarker::SetRect(const PhysicalRect& rect) { + if (layout_status_ == LayoutStatus::kValidNotNull && rect == rect_) return; layout_status_ = LayoutStatus::kValidNotNull; - layout_rect_ = rect; + rect_ = rect; } -const LayoutRect& TextMatchMarker::GetLayoutRect() const { +const PhysicalRect& TextMatchMarker::GetRect() const { DCHECK_EQ(layout_status_, LayoutStatus::kValidNotNull); - return layout_rect_; + return rect_; } void TextMatchMarker::NullifyLayoutRect() { |