mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 776447 - layout/xul/base/src/nsSliderFrame.cpp(595) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'. r=enndeakin
This commit is contained in:
parent
b64403c744
commit
f03fecf17b
@ -592,7 +592,7 @@ nsSliderFrame::GetEventPoint(nsGUIEvent* aEvent, nsPoint &aPoint) {
|
||||
bool
|
||||
nsSliderFrame::GetTouchPoint(nsTouchEvent* aEvent, nsIntPoint &aPoint)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aEvent);
|
||||
NS_ENSURE_TRUE(aEvent, false);
|
||||
// return false if there is more than one touch on the page, or if
|
||||
// we can't find a touch point
|
||||
if (aEvent->touches.Length() != 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user