Follow-up fix to bug 1148582 part 3, r=tn.

--HG--
extra : rebase_source : 92989fa0b5207cdc435618365d60c31ddb223172
This commit is contained in:
David Anderson 2015-05-26 14:13:03 -07:00
Родитель d3edf0e131
Коммит ffaeec1f11
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3091,7 +3091,7 @@ ScrollFrameHelper::ComputeFrameMetrics(Layer* aLayer,
parentLayerClip = Some(clip);
}
if (!gfxPrefs::AsyncPanZoomEnabled()) {
if (!nsLayoutUtils::UsesAsyncScrolling()) {
if (parentLayerClip) {
// If APZ is not enabled, we still need the displayport to be clipped
// in the compositor.