зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1180267 - Don't set root displayport margins from the mobile viewport manager unless the C++ APZ is enabled. r=botond
--HG-- extra : commitid : 6CQINQxlDzN
This commit is contained in:
Родитель
fa26656650
Коммит
79b7335af2
|
@ -273,7 +273,9 @@ MobileViewportManager::RefreshViewportSize(bool aForceAdjustResolution)
|
|||
MVM_LOG("%p: New zoom is %f\n", this, zoom.scale);
|
||||
UpdateSPCSPS(displaySize, zoom);
|
||||
}
|
||||
UpdateDisplayPortMargins();
|
||||
if (gfxPlatform::AsyncPanZoomEnabled()) {
|
||||
UpdateDisplayPortMargins();
|
||||
}
|
||||
|
||||
// Update internal state.
|
||||
mIsFirstPaint = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче