mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Issue #62 - Fix xul.dll link bustage related to MovableCellHasher.
The unsafeSet method is based on Jon Coppeard's part 2 patch for Mozilla bug 1306008. This is needed because of the use of unsafeSet in rekey() of MovableCellHasher<JS::Heap<T>>
This commit is contained in:
parent
b171da18f9
commit
2c8387f4fa
2 changed files with 3 additions and 0 deletions
|
|
@ -277,6 +277,8 @@ class MOZ_NON_MEMMOVABLE Heap : public js::HeapBase<T, Heap<T>>
|
|||
|
||||
T* unsafeGet() { return &ptr; }
|
||||
|
||||
void unsafeSet(const T& newPtr) { ptr = newPtr; }
|
||||
|
||||
void set(const T& newPtr) {
|
||||
T tmp = ptr;
|
||||
ptr = newPtr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue