bug 314679 remove some unused code from nsObjectFrame

r+sr=bz
This commit is contained in:
cbiesinger%web.de 2005-11-02 16:34:32 +00:00
parent ea28678a3e
commit ffa599d074
2 changed files with 0 additions and 18 deletions

View File

@ -376,7 +376,6 @@ public:
#if defined(XP_MAC) || defined(XP_MACOSX)
nsPluginPort* FixUpPluginWindow(PRInt32 inPaintState);
void GUItoMacEvent(const nsGUIEvent& anEvent, EventRecord* origEvent, EventRecord& aMacEvent);
void Composite();
#endif
private:
@ -1317,12 +1316,6 @@ nsObjectFrame::DidReflow(nsPresContext* aPresContext,
mInstanceOwner->ReleasePluginPort((nsPluginPort *)window->window);
if (mWidget) {
PRInt32 x = origin.x;
PRInt32 y = origin.y;
mWidget->Move(x, y);
}
return rv;
}
@ -3984,14 +3977,5 @@ nsPluginPort* nsPluginInstanceOwner::FixUpPluginWindow(PRInt32 inPaintState)
return pluginPort;
}
void nsPluginInstanceOwner::Composite()
{
//no reference count on view
nsIView* view = mOwner->GetView();
if (view) {
view->GetViewManager()->UpdateView(view, NS_VMREFRESH_IMMEDIATE);
}
}
#endif // XP_MAC || XP_MACOSX

View File

@ -200,8 +200,6 @@ protected:
private:
nsPluginInstanceOwner *mInstanceOwner;
nsCOMPtr<nsIURI> mFullURL;
nsIFrame *mFirstChild;
nsCOMPtr<nsIWidget> mWidget;
nsRect mWindowlessRect;
#ifdef DEBUG