Skip to content
Snippets Groups Projects
Commit 1431b193 authored by cypherpunks1's avatar cypherpunks1 Committed by richard
Browse files

Bug 41740: Change the RFP value of devicePixelRatio to 2

parent e35aaaa8
No related branches found
No related tags found
1 merge request!742Bug 41740: Change the RFP value of devicePixelRatio to 2
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment