Bug 1312605 - Part 0 - Fix indentation in MVM. r?kats draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Wed, 28 Jun 2017 11:23:02 -0700
changeset 601588 eaeceb0e08383619e06f933c87b7484bd356c0b9
parent 601534 f75d34b26bd9de2fe5bd3503a38de610d2ed62d2
child 601589 5a70778428a20a6102d084e0527126443cdfb28c
child 601613 b1357d33580180e91e80eb59a70be3ef6ce5c608
child 601688 2be096543b8c884dd1ec40c9daa673e194cea00e
child 602056 67cc32ed95203d7b4225605f5753518edfb2ae55
push id66126
push usermozilla@buttercookie.de
push dateWed, 28 Jun 2017 22:39:39 +0000
reviewerskats
bugs1312605
milestone56.0a1
Bug 1312605 - Part 0 - Fix indentation in MVM. r?kats MozReview-Commit-ID: FYAZNhVzPsb
layout/base/MobileViewportManager.cpp
--- a/layout/base/MobileViewportManager.cpp
+++ b/layout/base/MobileViewportManager.cpp
@@ -194,17 +194,17 @@ MobileViewportManager::UpdateResolution(
 {
   CSSToLayoutDeviceScale cssToDev =
       mPresShell->GetPresContext()->CSSToDevPixelScale();
   LayoutDeviceToLayerScale res(mPresShell->GetResolution());
 
   if (mIsFirstPaint) {
     CSSToScreenScale defaultZoom;
     if (mRestoreResolution) {
-    LayoutDeviceToLayerScale restoreResolution(mRestoreResolution.value());
+      LayoutDeviceToLayerScale restoreResolution(mRestoreResolution.value());
       if (mRestoreDisplaySize) {
         CSSSize prevViewport = mDocument->GetViewportInfo(mRestoreDisplaySize.value()).GetSize();
         float restoreDisplayWidthChangeRatio = (mRestoreDisplaySize.value().width > 0)
           ? (float)aDisplaySize.width / (float)mRestoreDisplaySize.value().width : 1.0f;
 
         restoreResolution =
           ScaleResolutionWithDisplayWidth(restoreResolution,
                                           restoreDisplayWidthChangeRatio,