bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
This commit is contained in:
Родитель
080496ae3e
Коммит
b657967736
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче