Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D73825
This commit is contained in:
Jean-Yves Avenard
2020-05-07 08:04:53 +00:00
parent 86f1edd79f
commit 859532c46d
45 changed files with 273 additions and 355 deletions

View File

@@ -551,7 +551,7 @@ void AsyncImagePipelineManager::NotifyPipelinesUpdated(
// Queue a runnable on the compositor thread to process the updates.
// This will also call CheckForTextureHostsNotUsedByGPU.
layers::CompositorThreadHolder::Loop()->PostTask(
layers::CompositorThread()->Dispatch(
NewRunnableMethod("ProcessPipelineUpdates", this,
&AsyncImagePipelineManager::ProcessPipelineUpdates));
}