aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorsnf <snf@users.noreply.github.com>2015-03-24 10:05:36 +0000
committersnf <snf@users.noreply.github.com>2015-03-31 21:51:41 +0100
commit1cc5bd4287d34afcf65395c59343c726e9c93cd5 (patch)
treed0ff20b98d96e5ecdbce78ace0277d89d780e65d /components/script/script_task.rs
parent225d7d2ece418d5ecefd7ce9047c4754ffb68c73 (diff)
downloadservo-1cc5bd4287d34afcf65395c59343c726e9c93cd5.tar.gz
servo-1cc5bd4287d34afcf65395c59343c726e9c93cd5.zip
broadcasting storage changes events
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 2db2ef24a80..a891455c0de 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -498,7 +498,7 @@ impl ScriptTask {
}
// Return the root page in the frame tree. Panics if it doesn't exist.
- fn root_page(&self) -> Rc<Page> {
+ pub fn root_page(&self) -> Rc<Page> {
self.page.borrow().as_ref().unwrap().clone()
}