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 c888ca7137
commit eeb666d494

View File

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