mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 795811 - Make GetPrimaryScrollableLayer() return null on all configurations except MOZ_WIDGET_ANDROID r=cjones
This commit is contained in:
parent
0a8c87a4bc
commit
cc5f5cf37b
@ -200,6 +200,12 @@ namespace layers {
|
||||
Layer*
|
||||
LayerManager::GetPrimaryScrollableLayer()
|
||||
{
|
||||
// AsyncPanZoomController handles multiple scrollable layers, so there is no
|
||||
// "primary" scrollable layer.
|
||||
#ifndef MOZ_WIDGET_ANDROID
|
||||
return nullptr;
|
||||
#endif
|
||||
|
||||
if (!mRoot) {
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user