mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1231256 (part 10) - Remove unused parameters from StartAPZDrag(). r=roc.
This commit is contained in:
parent
398587dd2d
commit
1ea10be380
@ -903,7 +903,7 @@ nsSliderMediator::HandleEvent(nsIDOMEvent* aEvent)
|
||||
}
|
||||
|
||||
bool
|
||||
nsSliderFrame::StartAPZDrag(WidgetGUIEvent* aEvent)
|
||||
nsSliderFrame::StartAPZDrag()
|
||||
{
|
||||
if (!gfxPlatform::GetPlatform()->SupportsApzDragInput()) {
|
||||
return false;
|
||||
@ -1020,7 +1020,7 @@ nsSliderFrame::StartDrag(nsIDOMEvent* aEvent)
|
||||
|
||||
mDragStart = pos - mThumbStart;
|
||||
|
||||
mScrollingWithAPZ = StartAPZDrag(event);
|
||||
mScrollingWithAPZ = StartAPZDrag();
|
||||
|
||||
#ifdef DEBUG_SLIDER
|
||||
printf("Pressed mDragStart=%d\n",mDragStart);
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
nsresult StartDrag(nsIDOMEvent* aEvent);
|
||||
nsresult StopDrag();
|
||||
|
||||
bool StartAPZDrag(mozilla::WidgetGUIEvent* aEvent);
|
||||
bool StartAPZDrag();
|
||||
|
||||
static int32_t GetCurrentPosition(nsIContent* content);
|
||||
static int32_t GetMinPosition(nsIContent* content);
|
||||
|
Loading…
Reference in New Issue
Block a user