mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1348398 - Remove Gecko_Truncate[C]String as it is no longer used, r=froydnj
This commit is contained in:
parent
e79ce455e3
commit
891ba54825
@ -425,18 +425,4 @@ bool Gecko_FallibleSetLengthString(nsAString* aThis, uint32_t aLength)
|
||||
return aThis->SetLength(aLength, mozilla::fallible);
|
||||
}
|
||||
|
||||
// NOTE: These two methods, Gecko_TruncateString and Gecko_TruncateCString are
|
||||
// not used by the nsstring bindings, but until the version in servo
|
||||
// (nsstring_vendor) is udpated, they still need to be included in the binary to
|
||||
// not break the tree. These will be removed in bug 1348398.
|
||||
void Gecko_TruncateString(nsAString* aThis)
|
||||
{
|
||||
aThis->Truncate();
|
||||
}
|
||||
|
||||
void Gecko_TruncateCString(nsACString* aThis)
|
||||
{
|
||||
aThis->Truncate();
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user