Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on rdf. r=nfroyd

This commit is contained in:
Makoto Kato 2015-10-28 14:30:46 +09:00
parent eaeaa48ec1
commit e9d4ee0aa2

View File

@ -333,7 +333,7 @@ FileSystemDataSource::GetTarget(nsIRDFResource *source,
url->GetValueConst(&uni);
if (!uni) return(NS_RDF_NO_VALUE);
nsAutoString urlStr;
urlStr.Assign(NS_LITERAL_STRING(NS_MOZICON_SCHEME).get());
urlStr.AssignLiteral(NS_MOZICON_SCHEME);
urlStr.Append(uni);
rv = mRDFService->GetLiteral(urlStr.get(), getter_AddRefs(url));