Bug 1390428 (part 8) - Remove nsXPIDLCString use in NullCString(). r=erahm.

This change makes NullCString() work the same way as NullString().
This commit is contained in:
Nicholas Nethercote
2017-08-17 14:25:23 +10:00
parent 5a298339f4
commit 68c953b4e2

View File

@@ -1286,7 +1286,7 @@ NullString()
const nsCString&
NullCString()
{
static const nsXPIDLCString sNull;
static const nsCString sNull(mozilla::detail::StringDataFlags::VOIDED);
return sNull;
}