Bug 1231256 (part 10) - Remove unused parameters from StartAPZDrag(). r=roc.

This commit is contained in:
Nicholas Nethercote 2015-12-08 20:05:13 -08:00
parent 398587dd2d
commit 1ea10be380
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);