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 05:03:42 +00:00
parent 7f1d37e759
commit e3857f0cf2
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));
}