nsObjectFrame::InstantiatePlugin(nsIPresContext&          aPresContext, nsHTMLReflowMetrics&     aMetrics, const nsHTMLReflowState& aReflowState, nsIPluginHost* aPluginHost, const char* aMimetype, nsIURL* aURL)
nsObjectFrame::InstantiatePlugin(nsPresContext* aPresContext, nsHTMLReflowMetrics& aMetrics, const nsHTMLReflowState& aReflowState, nsIPluginHost* aPluginHost, const char* aMimetype, nsIURI* aURI)
nsObjectFrame::InstantiatePlugin(nsIPresContext&          aPresContext,							nsHTMLReflowMetrics&     aMetrics,							const nsHTMLReflowState& aReflowState,							nsIPluginHost* aPluginHost, 							const char* aMimetype,							nsIURL* aURL){  nsIView *parentWithView;  nsPoint origin;  nsPluginWindow  *window;  float           t2p;  aPresContext.GetTwipsToPixels(&t2p);  SetFullURL(aURL);  // we need to recalculate this now that we have access to the nsPluginInstanceOwner  // and its size info (as set in the tag)  GetDesiredSize(&aPresContext, aReflowState, aMetrics);  if (nsnull != aMetrics.maxElementSize)   {    //XXX              AddBorderPaddingToMaxElementSize(borderPadding);    aMetrics.maxElementSize->width = aMetrics.width;    aMetrics.maxElementSize->height = aMetrics.height;  }  mInstanceOwner->GetWindow(window);  GetOffsetFromView(origin, &parentWithView);  window->x = NSTwipsToIntPixels(origin.x, t2p);  window->y = NSTwipsToIntPixels(origin.y, t2p);  window->width = NSTwipsToIntPixels(aMetrics.width, t2p);  window->height = NSTwipsToIntPixels(aMetrics.height, t2p);  window->clipRect.top = 0;  window->clipRect.left = 0;  window->clipRect.bottom = NSTwipsToIntPixels(aMetrics.height, t2p);  window->clipRect.right = NSTwipsToIntPixels(aMetrics.width, t2p);#ifdef XP_UNIX  window->ws_info = nsnull;   //XXX need to figure out what this is. MMP#endif  return aPluginHost->InstantiateEmbededPlugin(aMimetype, aURL, mInstanceOwner);}