mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1429904 - Make FrameKey members const. r=njn
MozReview-Commit-ID: KTYmCJM9tOH --HG-- extra : rebase_source : b5009f527bc0cd026e06c8b5da9f3d44fc4ea700
This commit is contained in:
parent
89eae04310
commit
1362836d13
@ -172,11 +172,11 @@ public:
|
||||
struct FrameKey {
|
||||
// This cannot be a std::string, as it is not memmove compatible, which
|
||||
// is used by nsHashTable
|
||||
nsCString mLocation;
|
||||
mozilla::Maybe<unsigned> mLine;
|
||||
mozilla::Maybe<unsigned> mCategory;
|
||||
mozilla::Maybe<JITAddress> mJITAddress;
|
||||
mozilla::Maybe<uint32_t> mJITDepth;
|
||||
const nsCString mLocation;
|
||||
const mozilla::Maybe<unsigned> mLine;
|
||||
const mozilla::Maybe<unsigned> mCategory;
|
||||
const mozilla::Maybe<JITAddress> mJITAddress;
|
||||
const mozilla::Maybe<uint32_t> mJITDepth;
|
||||
|
||||
explicit FrameKey(const char* aLocation)
|
||||
: mLocation(aLocation)
|
||||
|
Loading…
Reference in New Issue
Block a user