Make first method inline to try to fix egcs bustage. b=109772

This commit is contained in:
dbaron%dbaron.org 2004-01-30 08:01:01 +00:00
Родитель 9d02d4b1dc
Коммит 6b4b5847ef
1 изменённых файлов: 9 добавлений и 9 удалений

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

@ -128,6 +128,15 @@ class nsIView : public nsISupports
public: public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IVIEW_IID) NS_DEFINE_STATIC_IID_ACCESSOR(NS_IVIEW_IID)
/**
* Get the view manager which "owns" the view.
* This method might require some expensive traversal work in the future. If you can get the
* view manager from somewhere else, do that instead.
* @result the view manager
*/
nsIViewManager* GetViewManager() const
{ return NS_REINTERPRET_CAST(nsIViewManager*, mViewManager); }
/** /**
* Initialize the view * Initialize the view
* @param aManager view manager that "owns" the view. The view does NOT * @param aManager view manager that "owns" the view. The view does NOT
@ -159,15 +168,6 @@ public:
*/ */
void Destroy(); void Destroy();
/**
* Get the view manager which "owns" the view.
* This method might require some expensive traversal work in the future. If you can get the
* view manager from somewhere else, do that instead.
* @result the view manager
*/
nsIViewManager* GetViewManager() const
{ return NS_REINTERPRET_CAST(nsIViewManager*, mViewManager); }
/** /**
* Called to get the position of a view. * Called to get the position of a view.
* The specified coordinates are in the parent view's coordinate space. * The specified coordinates are in the parent view's coordinate space.