aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/wrapper.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-16 17:30:28 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-17 09:40:51 +0100
commit3fb16cc01758bdf5de1aa81fb25af970a8be6893 (patch)
treec2f5d99a61d439663d650a121612729fc6268729 /components/layout/wrapper.rs
parentf8c2c3c3e4040af6a1050d57a8d51aa43e3ee46c (diff)
downloadservo-3fb16cc01758bdf5de1aa81fb25af970a8be6893.tar.gz
servo-3fb16cc01758bdf5de1aa81fb25af970a8be6893.zip
Privatize from_layout_js functions.
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r--components/layout/wrapper.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs
index 96bf3927381..c463f7146c1 100644
--- a/components/layout/wrapper.rs
+++ b/components/layout/wrapper.rs
@@ -90,7 +90,7 @@ impl<'a> PartialEq for LayoutNode<'a> {
}
impl<'ln> LayoutNode<'ln> {
- pub fn from_layout_js(n: LayoutJS<Node>) -> LayoutNode<'ln> {
+ fn from_layout_js(n: LayoutJS<Node>) -> LayoutNode<'ln> {
LayoutNode {
node: n,
chain: PhantomData,
@@ -360,7 +360,7 @@ pub struct LayoutDocument<'le> {
}
impl<'le> LayoutDocument<'le> {
- pub fn from_layout_js(doc: LayoutJS<Document>) -> LayoutDocument<'le> {
+ fn from_layout_js(doc: LayoutJS<Document>) -> LayoutDocument<'le> {
LayoutDocument {
document: doc,
chain: PhantomData,
@@ -389,7 +389,7 @@ pub struct LayoutElement<'le> {
}
impl<'le> LayoutElement<'le> {
- pub fn from_layout_js(el: LayoutJS<Element>) -> LayoutElement<'le> {
+ fn from_layout_js(el: LayoutJS<Element>) -> LayoutElement<'le> {
LayoutElement {
element: el,
chain: PhantomData,