aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/constellation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/compositing/constellation.rs')
-rw-r--r--components/compositing/constellation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs
index cbca7b48a06..13dbb11037f 100644
--- a/components/compositing/constellation.rs
+++ b/components/compositing/constellation.rs
@@ -190,7 +190,7 @@ pub struct SendableFrameTree {
}
struct WebDriverData {
- load_channel: Option<(PipelineId, Sender<webdriver_msg::LoadComplete>)>
+ load_channel: Option<(PipelineId, Sender<webdriver_msg::LoadStatus>)>
}
impl WebDriverData {
@@ -709,7 +709,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
let mut webdriver_reset = false;
if let Some((ref expected_pipeline_id, ref reply_chan)) = self.webdriver.load_channel {
if expected_pipeline_id == pipeline_id {
- reply_chan.send(webdriver_msg::LoadComplete).unwrap();
+ let _ = reply_chan.send(webdriver_msg::LoadStatus::LoadComplete);
webdriver_reset = true;
}
}