mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
This commit is contained in:
parent
ea28678a3e
commit
ffa599d074
@ -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
|
||||
|
||||
|
@ -200,8 +200,6 @@ protected:
|
||||
private:
|
||||
nsPluginInstanceOwner *mInstanceOwner;
|
||||
nsCOMPtr<nsIURI> mFullURL;
|
||||
nsIFrame *mFirstChild;
|
||||
nsCOMPtr<nsIWidget> mWidget;
|
||||
nsRect mWindowlessRect;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user