зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1316338 - Make PrintTargetThebes set mHasActivePage as appropriate. r=lsalzman
This commit is contained in:
Родитель
9aad32cd64
Коммит
02c8d37eee
|
@ -86,18 +86,27 @@ PrintTargetThebes::EndPrinting()
|
|||
nsresult
|
||||
PrintTargetThebes::AbortPrinting()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
mHasActivePage = false;
|
||||
#endif
|
||||
return mGfxSurface->AbortPrinting();
|
||||
}
|
||||
|
||||
nsresult
|
||||
PrintTargetThebes::BeginPage()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
mHasActivePage = true;
|
||||
#endif
|
||||
return mGfxSurface->BeginPage();
|
||||
}
|
||||
|
||||
nsresult
|
||||
PrintTargetThebes::EndPage()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
mHasActivePage = false;
|
||||
#endif
|
||||
return mGfxSurface->EndPage();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче