Removing no-longer-used struct from this file. Should have landed as part of

bug 286813.
This commit is contained in:
bzbarsky%mit.edu 2005-03-29 15:58:31 +00:00
Родитель e04d40a34a
Коммит 9432fa53ed
1 изменённых файлов: 0 добавлений и 21 удалений

Просмотреть файл

@ -248,27 +248,6 @@ protected:
PLHashEntry** mLastLookup;
};
//----------------------------------------------------------------------
// A CantRenderReplacedElementEvent has a weak pointer to the frame
// manager, and the frame manager has a weak pointer to the event.
// The event queue owns the event and the FrameManager will delete
// the event if it's going to go away.
struct CantRenderReplacedElementEvent : public PLEvent {
CantRenderReplacedElementEvent(nsFrameManager* aFrameManager, nsIFrame* aFrame, nsIPresShell* aPresShell) NS_HIDDEN;
~CantRenderReplacedElementEvent() NS_HIDDEN;
// XXXldb Should the pres shell maintain a reference count on a single
// dummy layout request instead of doing creation of a separate one
// here (and per-event!)?
NS_HIDDEN_(nsresult) AddLoadGroupRequest(nsIPresShell* aPresShell);
NS_HIDDEN_(nsresult) RemoveLoadGroupRequest();
nsIFrame* mFrame; // the frame that can't be rendered
CantRenderReplacedElementEvent* mNext; // next event in the list
nsCOMPtr<nsIRequest> mDummyLayoutRequest; // load group request
nsWeakPtr mPresShell; // for removing load group request later
};
//----------------------------------------------------------------------
nsFrameManager::nsFrameManager()