Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc

This commit is contained in:
Mina Almasry
2013-09-17 20:45:19 -04:00
parent b24ba49fb9
commit 44fe7870d8
17 changed files with 103 additions and 83 deletions

View File

@@ -5046,7 +5046,7 @@ NS_IMETHODIMP
nsDocShell::GetUnscaledDevicePixelsPerCSSPixel(double *aScale)
{
if (mParentWidget) {
*aScale = mParentWidget->GetDefaultScale();
*aScale = mParentWidget->GetDefaultScale().scale;
return NS_OK;
}