| Index: Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
|
| index 310f49aa6fdae87b1f5245f47aba0d33c7c9498d..26de763f247efa2326063a0c033bda30e885192e 100644
|
| --- a/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -1182,6 +1182,8 @@ void GraphicsLayer::setScrollableArea(ScrollableArea* scrollableArea, bool isMai
|
|
|
| // Main frame scrolling may involve pinch zoom and gets routed through
|
| // WebViewImpl explicitly rather than via GraphicsLayer::didScroll.
|
| + // TODO(bokan): With pinch virtual viewport the special case will no
|
| + // longer be needed, remove once old-style pinch is gone.
|
| if (isMainFrame)
|
| m_layer->layer()->setScrollClient(0);
|
| else
|
|
|