aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storage.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-10-01 17:24:54 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-06 20:59:13 +0200
commit27f100b1d47058b92d0e23d8c1b2e472fb0eafca (patch)
tree2f12c1364fe0b5abb9b7f1405be81e04023193dd /components/script/dom/storage.rs
parentc6ff767625fff00e7c8f41d254c074e8e1e277be (diff)
downloadservo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.tar.gz
servo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.zip
Introduce GlobalScope::pipeline_id
Diffstat (limited to 'components/script/dom/storage.rs')
-rw-r--r--components/script/dom/storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index 986cd8edcbe..30afd8719c4 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -206,7 +206,7 @@ impl Runnable for StorageEventRunnable {
assert!(UrlHelper::SameOrigin(&ev_url, &it_window.get_url()));
// TODO: Such a Document object is not necessarily fully active, but events fired on such
// objects are ignored by the event loop until the Document becomes fully active again.
- if ev_window.pipeline_id() != it_window.pipeline_id() {
+ if ev_window.upcast::<GlobalScope>().pipeline_id() != it_window.upcast::<GlobalScope>().pipeline_id() {
storage_event.upcast::<Event>().fire(it_window.upcast());
}
}