mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +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)
|
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||||
nsPluginPort* FixUpPluginWindow(PRInt32 inPaintState);
|
nsPluginPort* FixUpPluginWindow(PRInt32 inPaintState);
|
||||||
void GUItoMacEvent(const nsGUIEvent& anEvent, EventRecord* origEvent, EventRecord& aMacEvent);
|
void GUItoMacEvent(const nsGUIEvent& anEvent, EventRecord* origEvent, EventRecord& aMacEvent);
|
||||||
void Composite();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -1317,12 +1316,6 @@ nsObjectFrame::DidReflow(nsPresContext* aPresContext,
|
|||||||
|
|
||||||
mInstanceOwner->ReleasePluginPort((nsPluginPort *)window->window);
|
mInstanceOwner->ReleasePluginPort((nsPluginPort *)window->window);
|
||||||
|
|
||||||
if (mWidget) {
|
|
||||||
PRInt32 x = origin.x;
|
|
||||||
PRInt32 y = origin.y;
|
|
||||||
mWidget->Move(x, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3984,14 +3977,5 @@ nsPluginPort* nsPluginInstanceOwner::FixUpPluginWindow(PRInt32 inPaintState)
|
|||||||
return pluginPort;
|
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
|
#endif // XP_MAC || XP_MACOSX
|
||||||
|
|
||||||
|
@ -200,8 +200,6 @@ protected:
|
|||||||
private:
|
private:
|
||||||
nsPluginInstanceOwner *mInstanceOwner;
|
nsPluginInstanceOwner *mInstanceOwner;
|
||||||
nsCOMPtr<nsIURI> mFullURL;
|
nsCOMPtr<nsIURI> mFullURL;
|
||||||
nsIFrame *mFirstChild;
|
|
||||||
nsCOMPtr<nsIWidget> mWidget;
|
|
||||||
nsRect mWindowlessRect;
|
nsRect mWindowlessRect;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user