Skip to content

Commit

Permalink
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...…
Browse files Browse the repository at this point in the history
…) on rdf. r=nfroyd
  • Loading branch information
makotokato committed Oct 28, 2015
1 parent e1deb2e commit 38576be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdf/datasource/nsFileSystemDataSource.cpp
Expand Up @@ -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));
Expand Down

0 comments on commit 38576be

Please sign in to comment.