forked from mirrors/gecko-dev
Backed out changeset 2218b1b338de (bug 1554751) for causing mochitest failures in test_bug418986-1.html CLOSED TREE
This commit is contained in:
parent
a6a3c33620
commit
f7041e951f
1 changed files with 1 additions and 1 deletions
|
|
@ -3513,7 +3513,7 @@ double nsGlobalWindowInner::GetDevicePixelRatio(CallerType aCallerType,
|
|||
nsAutoCString origin;
|
||||
nsresult rv = this->GetPrincipal()->GetOrigin(origin);
|
||||
if (NS_FAILED(rv) || origin != "resource://pdf.js"_ns) {
|
||||
return 2.0;
|
||||
return 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue