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

Unified Diff: Source/core/platform/ScrollView.cpp

Issue 13851023: Remove ChromeClient cruft (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 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/core/platform/HostWindow.h ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/ScrollView.cpp
diff --git a/Source/core/platform/ScrollView.cpp b/Source/core/platform/ScrollView.cpp
index 9ec77a6d83574ed4f2c1093c885483e10eef7da8..032a2f9946d6cb7f444dd1d58cfdda4199c94606 100644
--- a/Source/core/platform/ScrollView.cpp
+++ b/Source/core/platform/ScrollView.cpp
@@ -587,9 +587,6 @@ void ScrollView::scrollContents(const IntSize& scrollDelta)
IntRect updateRect = clipRect;
updateRect.intersect(scrollViewRect);
- // Invalidate the root view (not the backing store).
- hostWindow()->invalidateRootView(updateRect);
-
if (m_drawPanScrollIcon) {
// FIXME: the pan icon is broken when accelerated compositing is on, since it will draw under the compositing layers.
// https://bugs.webkit.org/show_bug.cgi?id=47837
@@ -615,9 +612,6 @@ void ScrollView::scrollContents(const IntSize& scrollDelta)
// This call will move children with native widgets (plugins) and invalidate them as well.
frameRectsChanged();
-
- // Now blit the backingstore into the window which should be very fast.
- hostWindow()->invalidateRootView(IntRect());
}
bool ScrollView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect)
« no previous file with comments | « Source/core/platform/HostWindow.h ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698