| Index: Source/web/ChromeClientImpl.cpp
|
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
|
| index 7aae604a04a6ed9d7425fe1e69c8d118e122a7c6..85801d96a4acf0a1192a1c9bea5168631cea092f 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 {
|
| - m_webView->scrollRootLayer();
|
| - }
|
| +void ChromeClientImpl::scroll()
|
| +{
|
| + ASSERT(m_webView->isAcceleratedCompositingActive());
|
| + m_webView->scrollRootLayer();
|
| }
|
|
|
| IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
|
|
|