aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/history.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2018-05-30 14:44:47 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2018-05-30 14:44:47 -0500
commitd0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb (patch)
tree150c4f8b1b07d2fcc5944315954e1414552768c2 /components/script/dom/history.rs
parent0786e34a3af55377f2d9eac81c0960a8b13acfda (diff)
downloadservo-d0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb.tar.gz
servo-d0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb.zip
Updated to mozjs v0.7.1.
Diffstat (limited to 'components/script/dom/history.rs')
-rw-r--r--components/script/dom/history.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/history.rs b/components/script/dom/history.rs
index 51f9a42c06c..1f3b652b0e9 100644
--- a/components/script/dom/history.rs
+++ b/components/script/dom/history.rs
@@ -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()) }
);
}