forked from mirrors/gecko-dev
		
	Bug 1554751 - Change the RFP value of devicePixelRatio to 2. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D207834
This commit is contained in:
		
							parent
							
								
									320a8c9112
								
							
						
					
					
						commit
						a479e3fa59
					
				
					 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 1.0; | ||||
|       return 2.0; | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 cypherpunks1
						cypherpunks1