[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.2.0esr-13.0-1] Bug 41740: Change the RFP value of devicePixelRatio to 2



Title: GitLab

richard pushed to branch tor-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 1431b193
    by cypherpunks1 at 2023-08-24T20:26:49+00:00
    Bug 41740: Change the RFP value of devicePixelRatio to 2
    

1 changed file:

Changes:

  • dom/base/nsGlobalWindowInner.cpp
    ... ... @@ -3616,7 +3616,7 @@ double nsGlobalWindowInner::GetDevicePixelRatio(CallerType aCallerType,
    3616 3616
         nsAutoCString origin;
    
    3617 3617
         nsresult rv = this->GetPrincipal()->GetOrigin(origin);
    
    3618 3618
         if (NS_FAILED(rv) || origin != "resource://pdf.js"_ns) {
    
    3619
    -      return 1.0;
    
    3619
    +      return 2.0;
    
    3620 3620
         }
    
    3621 3621
       }
    
    3622 3622
     
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits