зеркало из https://github.com/mozilla/gecko-dev.git
ifdef out the call to CaptureMouse since it is no longer needed r=rods
This commit is contained in:
Родитель
2c0e5cdc00
Коммит
f65d72dc11
|
@ -828,6 +828,7 @@ nsListControlFrame::CaptureMouseEvents(PRBool aGrabMouseEvents)
|
||||||
mIsCapturingMouseEvents = PR_FALSE;
|
mIsCapturingMouseEvents = PR_FALSE;
|
||||||
}
|
}
|
||||||
// XXX this is temp code
|
// XXX this is temp code
|
||||||
|
#if 0
|
||||||
if (!mIsScrollbarVisible) {
|
if (!mIsScrollbarVisible) {
|
||||||
nsIWidget * widget;
|
nsIWidget * widget;
|
||||||
view->GetWidget(widget);
|
view->GetWidget(widget);
|
||||||
|
@ -836,6 +837,7 @@ nsListControlFrame::CaptureMouseEvents(PRBool aGrabMouseEvents)
|
||||||
NS_RELEASE(widget);
|
NS_RELEASE(widget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -828,6 +828,7 @@ nsListControlFrame::CaptureMouseEvents(PRBool aGrabMouseEvents)
|
||||||
mIsCapturingMouseEvents = PR_FALSE;
|
mIsCapturingMouseEvents = PR_FALSE;
|
||||||
}
|
}
|
||||||
// XXX this is temp code
|
// XXX this is temp code
|
||||||
|
#if 0
|
||||||
if (!mIsScrollbarVisible) {
|
if (!mIsScrollbarVisible) {
|
||||||
nsIWidget * widget;
|
nsIWidget * widget;
|
||||||
view->GetWidget(widget);
|
view->GetWidget(widget);
|
||||||
|
@ -836,6 +837,7 @@ nsListControlFrame::CaptureMouseEvents(PRBool aGrabMouseEvents)
|
||||||
NS_RELEASE(widget);
|
NS_RELEASE(widget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче