Bug 1289211 - Rename InfallibleTArray to nsTArray in image/ r=aosmond

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Barret Rennie 2019-07-10 03:31:04 +00:00
parent 119f8b6281
commit a0f1bf2888

View File

@ -37,7 +37,7 @@ static nsresult CallRemoteGetIconForExtension(const nsACString& aFileExt,
NS_ENSURE_TRUE(aBuf != nullptr, NS_ERROR_NULL_POINTER);
// An array has to be used to get data from remote process
InfallibleTArray<uint8_t> bits;
nsTArray<uint8_t> bits;
uint32_t bufSize = aIconSize * aIconSize * 4;
if (!ContentChild::GetSingleton()->SendGetIconForExtension(