[Title] Fix the issue that overflow scrolling does not work properly.
[Issues] N_SE-47589 (issue#1)
[Problem] overflow scrolling does not work properly.
[Cause] A webLayerID is always zero because of order of evaluation of function arguments.
[Solution] Before PageClientImpl::setOverflowResult is called, the webLayerID should be set.
Change-Id: I13d317bea4cebd733be7d5e2fa60882dbb07a4f6
DrawingAreaProxy* drawingArea = pageProxy->drawingArea();
checkOverflowLayer = drawingArea && drawingArea->layerTreeCoordinatorProxy() && drawingArea->layerTreeCoordinatorProxy()->hasOverflowLayer();
#endif
- setOverflowResult(pageProxy->setPressedNodeAtPoint(pointForPress, checkOverflowLayer, webLayerID), webLayerID);
+ bool result = pageProxy->setPressedNodeAtPoint(pointForPress, checkOverflowLayer, webLayerID);
+ setOverflowResult(result, webLayerID);
}
}
#endif