Bug 1348738 - (Part 3) Add a string-label arg to nsRepeatService::Start and upgrade to InitWithNamedFuncCallback from InitWithFuncCallback. r=dholbert
In the new architecture of Quantum DOM, all runnables need a name label. So, we add the new string-label arg to Start function, and update all callers. MozReview-Commit-ID: G9LXFjtFcQv
This commit is contained in:
@@ -4129,7 +4129,8 @@ HTMLInputElement::StartNumberControlSpinnerSpin()
|
||||
|
||||
mNumberControlSpinnerIsSpinning = true;
|
||||
|
||||
nsRepeatService::GetInstance()->Start(HandleNumberControlSpin, this);
|
||||
nsRepeatService::GetInstance()->Start(HandleNumberControlSpin, this,
|
||||
NS_LITERAL_CSTRING("HandleNumberControlSpin"));
|
||||
|
||||
// Capture the mouse so that we can tell if the pointer moves from one
|
||||
// spin button to the other, or to some other element:
|
||||
|
||||
Reference in New Issue
Block a user