Backed out changeset 9846de3bd954 (bug 1372405)
This commit is contained in:
@@ -149,11 +149,8 @@ nsFormFillController::AttributeChanged(nsIDocument* aDocument,
|
||||
// to avoid ending up in an endless loop due to re-registering our
|
||||
// mutation observer (which would notify us again for *this* event).
|
||||
nsCOMPtr<nsIRunnable> event =
|
||||
mozilla::NewRunnableMethod<nsCOMPtr<nsIDOMHTMLInputElement>>(
|
||||
"nsFormFillController::MaybeStartControllingInput",
|
||||
this,
|
||||
&nsFormFillController::MaybeStartControllingInput,
|
||||
focusedInput);
|
||||
mozilla::NewRunnableMethod<nsCOMPtr<nsIDOMHTMLInputElement>>
|
||||
(this, &nsFormFillController::MaybeStartControllingInput, focusedInput);
|
||||
NS_DispatchToCurrentThread(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user