From 8362865d65e4b1cabc4684bfb2005171296f8bc8 Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Wed, 28 Nov 2018 09:09:01 -1000 Subject: [PATCH] Bug 1510724 Part 1 - Add accessor for wrapped PLDHashTable operations, r=froydnj. --HG-- extra : rebase_source : 49cb109c6c0b630feab52e82a711249b5c2443ea --- xpcom/ds/PLDHashTable.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xpcom/ds/PLDHashTable.h b/xpcom/ds/PLDHashTable.h index 1c1e21ccefaa..77c419ffff99 100644 --- a/xpcom/ds/PLDHashTable.h +++ b/xpcom/ds/PLDHashTable.h @@ -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.