Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index fb922512a14e013af242a517a339937036b9c95a..296e6ca3ac7ea8d1dab406172551d81a04c1f158 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1505,7 +1505,6 @@ void WebLocalFrameImpl::setTickmarks(const WebVector<WebRect>& tickmarks) |
for (size_t i = 0; i < tickmarks.size(); ++i) |
tickmarksConverted[i] = tickmarks[i]; |
frameView()->setTickmarks(tickmarksConverted); |
- invalidateScrollbar(); |
} |
} |
@@ -2095,24 +2094,6 @@ TextFinder& WebLocalFrameImpl::ensureTextFinder() |
return *m_textFinder; |
} |
-void WebLocalFrameImpl::invalidateScrollbar() const |
-{ |
- ASSERT(frame() && frame()->view()); |
- FrameView* view = frame()->view(); |
- // Invalidate the vertical scroll bar region for the view. |
- Scrollbar* scrollbar = view->verticalScrollbar(); |
- if (scrollbar) |
- scrollbar->invalidate(); |
-} |
- |
-void WebLocalFrameImpl::invalidateAll() const |
-{ |
- ASSERT(frame() && frame()->view()); |
- FrameView* view = frame()->view(); |
- view->invalidateRect(view->frameRect()); |
- invalidateScrollbar(); |
-} |
- |
void WebLocalFrameImpl::setFrameWidget(WebFrameWidgetImpl* frameWidget) |
{ |
m_frameWidget = frameWidget; |