mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814435 - Always layerize overlay scrollbars on B2G. r=tn
This commit is contained in:
parent
cb968a6256
commit
d174e6cdb8
@ -2439,6 +2439,12 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
scrolledContent.MoveTo(aLists);
|
||||
|
||||
// Now display overlay scrollbars and the resizer, if we have one.
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
// TODO: only layerize the overlay scrollbars if this scrollframe can be
|
||||
// panned asynchronously. For now just always layerize on B2G because.
|
||||
// that's where we want the layerized scrollbars
|
||||
createLayersForScrollbars = true;
|
||||
#endif
|
||||
AppendScrollPartsTo(aBuilder, aDirtyRect, aLists, createLayersForScrollbars,
|
||||
true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user