aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2016-09-03 07:27:39 -0700
committerKeith Yeung <kungfukeith11@gmail.com>2016-10-11 19:36:06 -0700
commit668163ec5c4091806b155ef14d3b3522cb4697cd (patch)
treec392fa270399e7fdf1ae103720ea7b7406ddfc2d /components/script/layout_wrapper.rs
parent752c6e6019f72e6ee1b7ee959e80f588b6714cfd (diff)
downloadservo-668163ec5c4091806b155ef14d3b3522cb4697cd.tar.gz
servo-668163ec5c4091806b155ef14d3b3522cb4697cd.zip
Emit TransitionEnd events in the layout thread and process it in the script thread
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs
index f2947bedc93..451cfe82623 100644
--- a/components/script/layout_wrapper.rs
+++ b/components/script/layout_wrapper.rs
@@ -413,7 +413,7 @@ impl<'ln> ServoLayoutNode<'ln> {
/// Returns the interior of this node as a `LayoutJS`. This is highly unsafe for layout to
/// call and as such is marked `unsafe`.
- unsafe fn get_jsmanaged(&self) -> &LayoutJS<Node> {
+ pub unsafe fn get_jsmanaged(&self) -> &LayoutJS<Node> {
&self.node
}
}