Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 1053123007: Invalidate paint of tickmarks on document change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698