Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.

XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
This commit is contained in:
Nicholas Nethercote
2017-09-22 14:35:46 +10:00
parent 99c5aeecd1
commit e8236888ee
40 changed files with 67 additions and 68 deletions

View File

@@ -353,7 +353,7 @@ HTMLImageElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
if (InResponsiveMode()) {
if (mResponsiveSelector &&
mResponsiveSelector->Content() == this) {
mResponsiveSelector->SetDefaultSource(NullString());
mResponsiveSelector->SetDefaultSource(VoidString());
}
QueueImageLoadTask(true);
} else {