зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429904 - Remove mHash which is now unused. It was only used by FrameKey::operator<. r=njn
MozReview-Commit-ID: 5Jc6EYmoZfS --HG-- extra : rebase_source : 20c2c4b0396b0b850066d65e6f7984e4fbe472fa
This commit is contained in:
Родитель
fa1dbb7812
Коммит
81b7ec9e0c
|
@ -181,7 +181,6 @@ public:
|
|||
explicit FrameKey(const char* aLocation)
|
||||
: mLocation(aLocation)
|
||||
{
|
||||
mHash = Hash();
|
||||
}
|
||||
|
||||
FrameKey(const FrameKey& aToCopy)
|
||||
|
@ -191,21 +190,16 @@ public:
|
|||
, mJITAddress(aToCopy.mJITAddress)
|
||||
, mJITDepth(aToCopy.mJITDepth)
|
||||
{
|
||||
mHash = Hash();
|
||||
}
|
||||
|
||||
FrameKey(const JITAddress& aJITAddress, uint32_t aJITDepth)
|
||||
: mJITAddress(mozilla::Some(aJITAddress))
|
||||
, mJITDepth(mozilla::Some(aJITDepth))
|
||||
{
|
||||
mHash = Hash();
|
||||
}
|
||||
|
||||
uint32_t Hash() const;
|
||||
bool operator==(const FrameKey& aOther) const;
|
||||
|
||||
private:
|
||||
uint32_t mHash;
|
||||
};
|
||||
|
||||
struct StackKey {
|
||||
|
|
Загрузка…
Ссылка в новой задаче