Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj

This commit is contained in:
Kyle Huey
2016-05-05 01:45:00 -07:00
parent 7bfda7e22f
commit b972c94d0f
238 changed files with 1046 additions and 1279 deletions

View File

@@ -280,7 +280,7 @@ HTMLObjectElement::BindToTree(nsIDocument *aDocument,
// If we already have all the children, start the load.
if (mIsDoneAddingChildren && !pluginDoc) {
void (HTMLObjectElement::*start)() = &HTMLObjectElement::StartObjectLoad;
nsContentUtils::AddScriptRunner(NS_NewRunnableMethod(this, start));
nsContentUtils::AddScriptRunner(NewRunnableMethod(this, start));
}
return NS_OK;