Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index 3676b6fc189921e3255116f5e2e68e73b7437e22..8e7c9b4c8bf9edaf7f47f160eed7324cd26e5942 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -1935,6 +1935,17 @@ int WebFrameImpl::selectNearestFindMatch(const WebFloatPoint& point, WebRect* se |
return -1; |
} |
+void WebFrameImpl::setTickmarks(const WebVector<WebRect>& tickmarks) |
+{ |
+ if (frameView()) { |
+ Vector<IntRect> tickmarksConverted(tickmarks.size()); |
+ for (size_t i = 0; i < tickmarks.size(); ++i) |
+ tickmarksConverted[i] = tickmarks[i]; |
+ frameView()->setTickmarks(tickmarksConverted); |
+ invalidateArea(InvalidateScrollbar); |
+ } |
+} |
+ |
int WebFrameImpl::nearestFindMatch(const FloatPoint& point, float& distanceSquared) |
{ |
updateFindMatchRects(); |