aShell->RecreateFramesFor(aContent);
nsIFrame *frame = nsnull; aShell->GetPrimaryFrameFor(aContent, &frame); if (frame) { nsIObjectFrame *objFrame = nsnull; CallQueryInterface(frame, &objFrame); if (objFrame) { nsCOMPtr<nsIPluginInstance> instance; objFrame->GetPluginInstance(*getter_AddRefs(instance)); if (instance) { aShell->RecreateFramesFor(aContent); } } }
StartPluginInstance(PresShell *aShell, nsIContent *aContent){  // For now we just reconstruct the frame.  aShell->RecreateFramesFor(aContent);}