Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user