зеркало из https://github.com/mozilla/gecko-dev.git
properly initialize the rendering context - thanks ramiro
This commit is contained in:
Родитель
0171c389d9
Коммит
e53a8b4f55
|
@ -30,6 +30,7 @@ nsScrollbar::nsScrollbar(PRBool aIsVertical) : nsWidget(), nsIScrollbar()
|
|||
mThumbSize = 0;
|
||||
mLineIncrement = 1;
|
||||
mIsVertical = aIsVertical;
|
||||
mRenderingContext = nsnull;
|
||||
};
|
||||
|
||||
nsScrollbar::~nsScrollbar()
|
||||
|
@ -181,3 +182,4 @@ PRBool nsScrollbar::DispatchMouseEvent(nsMouseEvent &aEvent)
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче