Bug 1332160 - use nsCString internally whenever possible. r=gerald

MozReview-Commit-ID: 1DUaJWfbL88
This commit is contained in:
JW Wang
2017-01-18 16:51:31 +08:00
parent 383f789c5c
commit 75bcb52440
14 changed files with 21 additions and 17 deletions

View File

@@ -1447,7 +1447,9 @@ void
HTMLMediaElement::GetMozDebugReaderData(nsAString& aString)
{
if (mDecoder && !mSrcStream) {
mDecoder->GetMozDebugReaderData(aString);
nsAutoCString result;
mDecoder->GetMozDebugReaderData(result);
aString = NS_ConvertUTF8toUTF16(result);
}
}