From 9a5d7373c2721a2744bb85557f34acd4a74b1b46 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Fri, 5 Jan 2018 15:38:06 +0100 Subject: [PATCH] Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me --- dom/file/BlobSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/file/BlobSet.cpp b/dom/file/BlobSet.cpp index 8cf1a5ecdb2a..c12364e0360e 100644 --- a/dom/file/BlobSet.cpp +++ b/dom/file/BlobSet.cpp @@ -37,7 +37,7 @@ BlobSet::AppendVoidPtr(const void* aData, uint32_t aLength) nsresult BlobSet::AppendString(const nsAString& aString, bool nativeEOL) { - nsAutoCString utf8Str; + nsCString utf8Str; if (NS_WARN_IF(!AppendUTF16toUTF8(aString, utf8Str, mozilla::fallible))) { return NS_ERROR_OUT_OF_MEMORY; }