Bug 814435 - Always layerize overlay scrollbars on B2G. r=tn

This commit is contained in:
Kartikaya Gupta 2013-12-09 22:14:54 -05:00
parent cb968a6256
commit d174e6cdb8

View File

@ -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);
}