Flush layout before starting to pump data into plug-ins if we started the data
load ourselves. Fixes various issues with a number of plug-ins that expect NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write. Bug 381512, r=biesi, sr=jst
This commit is contained in:
@@ -967,7 +967,7 @@ nsObjectFrame::DidReflow(nsPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// this will call pi->SetWindow and take care of window subclassing
|
||||
// if needed, see bug 132759
|
||||
// if needed, see bug 132759.
|
||||
window->CallSetWindow(pi);
|
||||
|
||||
mInstanceOwner->ReleasePluginPort((nsPluginPort *)window->window);
|
||||
|
||||
Reference in New Issue
Block a user