зеркало из https://github.com/mozilla/gecko-dev.git
remove some unused member variables
This commit is contained in:
Родитель
1844edcc87
Коммит
13e9078f83
|
@ -121,8 +121,6 @@ NS_IMPL_ISUPPORTS_INHERITED0(nsWindow, nsWidget)
|
|||
//-------------------------------------------------------------------------
|
||||
nsWindow::nsWindow()
|
||||
{
|
||||
// NS_INIT_REFCNT();
|
||||
mFontMetrics = nsnull;
|
||||
mShell = nsnull;
|
||||
mResized = PR_FALSE;
|
||||
mVisible = PR_FALSE;
|
||||
|
@ -130,7 +128,6 @@ nsWindow::nsWindow()
|
|||
mLowerLeft = PR_FALSE;
|
||||
mWindowType = eWindowType_child;
|
||||
mBorderStyle = eBorderStyle_default;
|
||||
mFont = nsnull;
|
||||
mSuperWin = 0;
|
||||
mMozArea = 0;
|
||||
mMozAreaClosestParent = 0;
|
||||
|
|
|
@ -223,14 +223,10 @@ protected:
|
|||
virtual void InitCallbacks(char * aName = nsnull);
|
||||
NS_IMETHOD CreateNative(GtkObject *parentWidget);
|
||||
|
||||
nsIFontMetrics *mFontMetrics;
|
||||
PRBool mVisible;
|
||||
PRBool mDisplayed;
|
||||
PRBool mIsTooSmall;
|
||||
|
||||
// XXX Temporary, should not be caching the font
|
||||
nsFont * mFont;
|
||||
|
||||
// Resize event management
|
||||
nsRect mResizeRect;
|
||||
int mResized;
|
||||
|
|
Загрузка…
Ссылка в новой задаче