Bug 1429904 - Make FrameKey members const. r=njn

MozReview-Commit-ID: KTYmCJM9tOH

--HG--
extra : rebase_source : b5009f527bc0cd026e06c8b5da9f3d44fc4ea700
This commit is contained in:
Markus Stange 2018-02-27 23:11:34 -05:00
Родитель 89eae04310
Коммит 1362836d13
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -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)