Bug 1224041 - Use stable hashing for CloneMemory r=terrence

This commit is contained in:
Jon Coppeard 2015-11-13 14:21:27 +00:00
Родитель 4343fd152c
Коммит 2a5be6ecdd
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -342,7 +342,7 @@ struct JSStructuredCloneWriter {
// The "memory" list described in the HTML5 internal structured cloning algorithm.
// memory is a superset of objs; items are never removed from Memory
// until a serialization operation is finished
using CloneMemory = TraceableHashMap<JSObject*, uint32_t>;
using CloneMemory = TraceableHashMap<JSObject*, uint32_t, MovableCellHasher<JSObject*>>;
Rooted<CloneMemory> memory;
// The user defined callbacks that will be used for cloning.