зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429904 - Make FrameKey members const. r=njn
MozReview-Commit-ID: KTYmCJM9tOH --HG-- extra : rebase_source : b5009f527bc0cd026e06c8b5da9f3d44fc4ea700
This commit is contained in:
Родитель
89eae04310
Коммит
1362836d13
|
@ -172,11 +172,11 @@ public:
|
||||||
struct FrameKey {
|
struct FrameKey {
|
||||||
// This cannot be a std::string, as it is not memmove compatible, which
|
// This cannot be a std::string, as it is not memmove compatible, which
|
||||||
// is used by nsHashTable
|
// is used by nsHashTable
|
||||||
nsCString mLocation;
|
const nsCString mLocation;
|
||||||
mozilla::Maybe<unsigned> mLine;
|
const mozilla::Maybe<unsigned> mLine;
|
||||||
mozilla::Maybe<unsigned> mCategory;
|
const mozilla::Maybe<unsigned> mCategory;
|
||||||
mozilla::Maybe<JITAddress> mJITAddress;
|
const mozilla::Maybe<JITAddress> mJITAddress;
|
||||||
mozilla::Maybe<uint32_t> mJITDepth;
|
const mozilla::Maybe<uint32_t> mJITDepth;
|
||||||
|
|
||||||
explicit FrameKey(const char* aLocation)
|
explicit FrameKey(const char* aLocation)
|
||||||
: mLocation(aLocation)
|
: mLocation(aLocation)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче