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 4959e65cffdd86d3499cbe53c908e02024163cdf..3531bca95dbfcb873c0c7aa3fbdfad6ffecd1e11 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2596,11 +2596,11 @@ 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().renderedRectsForMarkers(); |
+ } |
} |
void FrameView::setInputEventsTransformForEmulation(const IntSize& offset, |