mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me
This commit is contained in:
parent
20789635c3
commit
9a5d7373c2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user