diff options
Diffstat (limited to 'components/script/dom/history.rs')
-rw-r--r-- | components/script/dom/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/history.rs b/components/script/dom/history.rs index 4bbcba64bad..583c58a00f1 100644 --- a/components/script/dom/history.rs +++ b/components/script/dom/history.rs @@ -117,7 +117,7 @@ impl History { match serialized_data { Some(serialized_data) => { let global_scope = self.window.upcast::<GlobalScope>(); - rooted!(in(global_scope.get_cx()) let mut state = UndefinedValue()); + rooted!(in(*global_scope.get_cx()) let mut state = UndefinedValue()); StructuredCloneData::Vector(serialized_data) .read(&global_scope, state.handle_mut()); self.state.set(state.get()); |