| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 5bf6441258d162eeb96671455bca7962985f2ab5..7fc0b31dad6227466165d8b0a7162d902bdaee60 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -2571,11 +2571,12 @@ void FrameView::invalidatePaintForTickmarks() {
|
| }
|
|
|
| void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const {
|
| - if (!m_tickmarks.isEmpty())
|
| + if (!m_tickmarks.isEmpty()) {
|
| tickmarks = m_tickmarks;
|
| - else
|
| - tickmarks = frame().document()->markers().renderedRectsForMarkers(
|
| - DocumentMarker::TextMatch);
|
| + } else {
|
| + tickmarks =
|
| + frame().document()->markers().renderedRectsForTextMatchMarkers();
|
| + }
|
| }
|
|
|
| void FrameView::setInputEventsTransformForEmulation(const IntSize& offset,
|
|
|