Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey

This commit is contained in:
Ben Tian
2016-05-06 16:09:03 +08:00
parent fec20f9b3f
commit d7da2fc8b4
7 changed files with 16 additions and 32 deletions

View File

@@ -159,7 +159,8 @@ nsPluginInstanceOwner::NotifyPaintWaiter(nsDisplayListBuilder* aBuilder)
nsCOMPtr<nsIRunnable> event = new AsyncPaintWaitEvent(content, false);
// Run this event as soon as it's safe to do so, since listeners need to
// receive it immediately
mWaitingForPaint = nsContentUtils::AddScriptRunner(event);
nsContentUtils::AddScriptRunner(event);
mWaitingForPaint = true;
}
}