Bug 1510724 Part 1 - Add accessor for wrapped PLDHashTable operations, r=froydnj.

--HG--
extra : rebase_source : 49cb109c6c0b630feab52e82a711249b5c2443ea
This commit is contained in:
Brian Hackett 2018-11-28 09:09:01 -10:00
Родитель 6e2e2a7b48
Коммит 8362865d65
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -435,6 +435,12 @@ class PLDHashTable {
return mozilla::recordreplay::UnwrapPLDHashTableCallbacks(mOps);
}
// Provide access to the raw ops to internal record/replay structures.
const PLDHashTableOps* RecordReplayWrappedOps() const
{
return mOps;
}
// Size in entries (gross, not net of free and removed sentinels) for table.
// This can be zero if no elements have been added yet, in which case the
// entry storage will not have yet been allocated.