mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
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:
parent
fa26656650
commit
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user