зеркало из https://github.com/mozilla/pjs.git
Fix null pointer crash for XP Menu case.
This commit is contained in:
Родитель
4293dd3874
Коммит
c59ba336d9
|
@ -246,7 +246,9 @@ nsToolbarFrame :: HandleEvent ( nsIPresContext& aPresContext,
|
||||||
nsEventStatus& aEventStatus)
|
nsEventStatus& aEventStatus)
|
||||||
{
|
{
|
||||||
#ifdef TOOLBAR_DD
|
#ifdef TOOLBAR_DD
|
||||||
mDragListener->SetPresContext(&aPresContext); // not ref counted
|
if(mDragListener) {
|
||||||
|
mDragListener->SetPresContext(&aPresContext); // not ref counted
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( !aEvent )
|
if ( !aEvent )
|
||||||
|
|
Загрузка…
Ссылка в новой задаче