mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1122794 - Call SetResolutionAndScaleTo() instead of SetResolution() consistently in TabChild. r=kats
This commit is contained in:
parent
cfd8d0ff84
commit
ce5471f4e1
@ -978,8 +978,8 @@ TabChild::Observe(nsISupports *aSubject,
|
||||
// until we we get an inner size.
|
||||
if (HasValidInnerSize()) {
|
||||
InitializeRootMetrics();
|
||||
utils->SetResolution(mLastRootMetrics.GetPresShellResolution(),
|
||||
mLastRootMetrics.GetPresShellResolution());
|
||||
utils->SetResolutionAndScaleTo(mLastRootMetrics.GetPresShellResolution(),
|
||||
mLastRootMetrics.GetPresShellResolution());
|
||||
HandlePossibleViewportChange(mInnerSize);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user