Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky

This commit is contained in:
Mats Palmgren 2009-08-19 03:10:07 +02:00
parent de859aa548
commit 5619fdf1b7

View File

@ -2831,6 +2831,9 @@ DocumentViewerImpl::SetTextZoom(float aTextZoom)
if (GetIsPrintPreview()) {
return NS_OK;
}
// XXX wallpaper for bug 506349.
mDocument->FlushPendingNotifications(Flush_ContentAndNotify);
mTextZoom = aTextZoom;