зеркало из https://github.com/mozilla/gecko-dev.git
r=pedemonte, a=blizzard OS/2 only - leaking presentation spaces
This commit is contained in:
Родитель
0fbfbfe4ce
Коммит
47d4c40a42
|
@ -58,6 +58,8 @@ nsScreenOS2 :: GetRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth, PRI
|
|||
*outWidth = alArray[0];
|
||||
*outHeight = alArray[1];
|
||||
|
||||
::WinReleasePS(hps);
|
||||
|
||||
return NS_OK;
|
||||
|
||||
} // GetRect
|
||||
|
@ -98,6 +100,9 @@ nsScreenOS2 :: GetPixelDepth(PRInt32 *aPixelDepth)
|
|||
|
||||
*aPixelDepth = (PRInt32)lCap;
|
||||
|
||||
|
||||
::WinReleasePS(hps);
|
||||
|
||||
return NS_OK;
|
||||
|
||||
} // GetPixelDepth
|
||||
|
|
Загрузка…
Ссылка в новой задаче