Verified Commit d29f9a84 authored by cypherpunks1's avatar cypherpunks1 Committed by Pier Angelo Vendrame
Browse files

Bug 41740: Change the RFP value of devicePixelRatio to 2

parent 5737f18d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3616,7 +3616,7 @@ double nsGlobalWindowInner::GetDevicePixelRatio(CallerType aCallerType,
    nsAutoCString origin;
    nsresult rv = this->GetPrincipal()->GetOrigin(origin);
    if (NS_FAILED(rv) || origin != "resource://pdf.js"_ns) {
      return 1.0;
      return 2.0;
    }
  }