mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 1231256 (part 10) - Remove unused parameters from StartAPZDrag(). r=roc.
--HG-- extra : rebase_source : 32d54af512560923390228365801f2823cdea351
This commit is contained in:
parent
175f0903af
commit
a96e4ed3ee
@ -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…
x
Reference in New Issue
Block a user