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
c888ca7137
commit
eeb666d494
@ -978,7 +978,7 @@ TabChild::Observe(nsISupports *aSubject,
|
|||||||
// until we we get an inner size.
|
// until we we get an inner size.
|
||||||
if (HasValidInnerSize()) {
|
if (HasValidInnerSize()) {
|
||||||
InitializeRootMetrics();
|
InitializeRootMetrics();
|
||||||
utils->SetResolution(mLastRootMetrics.GetPresShellResolution(),
|
utils->SetResolutionAndScaleTo(mLastRootMetrics.GetPresShellResolution(),
|
||||||
mLastRootMetrics.GetPresShellResolution());
|
mLastRootMetrics.GetPresShellResolution());
|
||||||
HandlePossibleViewportChange(mInnerSize);
|
HandlePossibleViewportChange(mInnerSize);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user