| 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
|
|
|