Updated to mozjs v0.7.1.

This commit is contained in:
Alan Jeffrey 2018-05-30 14:44:47 -05:00
parent 0786e34a3a
commit d0cc9d2cd5
13 changed files with 39 additions and 30 deletions

View file

@ -120,7 +120,7 @@ impl History {
PopStateEvent::dispatch_jsval(
self.window.upcast::<EventTarget>(),
&*self.window,
unsafe { self.state.handle() }
unsafe { HandleValue::from_raw(self.state.handle()) }
);
}