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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 348193002: Remove some dead scrolling paths and unused params (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 6 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/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 498ce707d12eef198f55bbf49069b7a9924b845a..6ce09ebc41cc2a801a73e7cc1b49dea998855db0 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -493,19 +493,10 @@ void ChromeClientImpl::scheduleAnimation()
m_webView->scheduleAnimation();
}
-void ChromeClientImpl::scroll(
- const IntSize& scrollDelta, const IntRect& scrollRect,
- const IntRect& clipRect)
-{
- if (!m_webView->isAcceleratedCompositingActive()) {
- if (m_webView->client()) {
- int dx = scrollDelta.width();
- int dy = scrollDelta.height();
- m_webView->client()->didScrollRect(dx, dy, intersection(scrollRect, clipRect));
- }
- } else {
+void ChromeClientImpl::scroll()
+{
+ if (m_webView->isAcceleratedCompositingActive())
m_webView->scrollRootLayer();
- }
}
IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698