| 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 a81c4447504eac6862e5716524517fc60d42c3dc..0b44fdd2e8a867f0e65726265bb37c17f2ef704f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -2596,11 +2596,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,
|
|
|