Bug 1289211 - Rename InfallibleTArray to nsTArray in gfx/webrender_bindings/ r=kvark

Differential Revision: https://phabricator.services.mozilla.com/D36957

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Barret Rennie 2019-07-10 03:30:18 +00:00
Родитель 420c8e890a
Коммит 942eaabecc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1042,7 +1042,7 @@ void wr_finished_scene_build(mozilla::wr::WrWindowId aWindowId,
CompositorBridgeParent::GetCompositorBridgeParentFromWindowId(aWindowId);
RefPtr<wr::WebRenderPipelineInfo> info = new wr::WebRenderPipelineInfo(aInfo);
if (cbp) {
InfallibleTArray<wr::RenderRoot> renderRoots;
nsTArray<wr::RenderRoot> renderRoots;
renderRoots.SetLength(aDocumentIdsCount);
for (size_t i = 0; i < aDocumentIdsCount; ++i) {
renderRoots[i] = wr::RenderRootFromId(aDocumentIds[i]);