mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00

This change reimplements nsTHashtable::Clear() using PLDHashable::Clear(). This changes its semantics slightly -- the old version would clear the table but leave its capacity unchanged. The new version will adjust the capacity to the default, though the entry storage will only be re-allocated when the first new element is added.