Bug 1122794 - Call SetResolutionAndScaleTo() instead of SetResolution() consistently in TabChild. r=kats

This commit is contained in:
Botond Ballo 2015-01-16 18:49:42 -05:00
parent cfd8d0ff84
commit ce5471f4e1

View File

@ -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);
}
}