aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-10-15 18:47:04 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-10-16 01:20:27 +0530
commit8819f0d8b86a59acbad9b3127171fce4728b0cdd (patch)
treef66b555479dcc37f2cee6fd461d00ae8c318180e /components/script/page.rs
parent7022bedba3ec9652490ce693e15674cf1ff7e36c (diff)
downloadservo-8819f0d8b86a59acbad9b3127171fce4728b0cdd.tar.gz
servo-8819f0d8b86a59acbad9b3127171fce4728b0cdd.zip
Update script to work with lint changes
Diffstat (limited to 'components/script/page.rs')
-rw-r--r--components/script/page.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/page.rs b/components/script/page.rs
index ce778d8bca9..b6b35c6119a 100644
--- a/components/script/page.rs
+++ b/components/script/page.rs
@@ -119,6 +119,7 @@ impl Page {
old
}
+ #[allow(unrooted_must_root)]
pub fn set_frame(&self, frame: Option<Frame>) {
*self.frame.borrow_mut() = frame;
}