зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1365516 - Remove the call to AbstractThread::GetCurrent() in WebRenderImageLayer.cpp. r=sotaro
MozReview-Commit-ID: 5UMQuqEMZCu --HG-- extra : rebase_source : 3572dc4ce88c5d7cfdcd96b57913fa5ef3cb04e9 extra : source : 16c28cad5889952df3c7ec02f292f0bf6861c3e8
This commit is contained in:
Родитель
951aab144c
Коммит
01417acb4d
|
@ -106,7 +106,7 @@ WebRenderImageLayer::RenderLayer(wr::DisplayListBuilder& aBuilder,
|
|||
// And we do not want to use RefPtr<WebRenderImageLayer> here.
|
||||
Holder holder(this);
|
||||
WrManager()->AllocPipelineId()
|
||||
->Then(AbstractThread::GetCurrent(), __func__,
|
||||
->Then(AbstractThread::MainThread(), __func__,
|
||||
[holder] (const wr::PipelineId& aPipelineId) {
|
||||
holder->mPipelineIdRequest.Complete();
|
||||
holder->mPipelineId = Some(aPipelineId);
|
||||
|
|
Загрузка…
Ссылка в новой задаче