Chromium Code Reviews| Index: Source/web/WebLocalFrameImpl.cpp |
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
| index caea872adab0f715961a1a565b5980e79acb49b9..e7a54e6053a1947d3881817905d73f8125bc772f 100644 |
| --- a/Source/web/WebLocalFrameImpl.cpp |
| +++ b/Source/web/WebLocalFrameImpl.cpp |
| @@ -1508,7 +1508,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(); |
|
Xianzhu
2015/04/17 18:25:03
Now frameView will invalidate paint of tickmarks i
|
| } |
| } |
| @@ -2089,24 +2088,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; |