Verified Commit 7aa059f6 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 41631: Prevent weird initial window dimensions caused by subpixel computations

parent a3a50651
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -314,8 +314,10 @@ class _RFPHelper {
      kPrefLetterboxing,
      false
    );
    if (this.rfpEnabled) {
      forEachWindow(win => this._updateSizeForTabsInWindow(win));
    }
  }

  // The function to parse the dimension set from the pref value. The pref value
  // should be formated as 'width1xheight1, width2xheight2, ...'. For