mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky
This commit is contained in:
parent
de859aa548
commit
5619fdf1b7
@ -2831,6 +2831,9 @@ DocumentViewerImpl::SetTextZoom(float aTextZoom)
|
||||
if (GetIsPrintPreview()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// XXX wallpaper for bug 506349.
|
||||
mDocument->FlushPendingNotifications(Flush_ContentAndNotify);
|
||||
|
||||
mTextZoom = aTextZoom;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user