From d5ec37e4a39704b654d08ce467f6c154b811d891 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 6 Feb 2015 10:51:56 +0100 Subject: [PATCH] Fix warnings introduced in #4852. --- components/devtools/actors/tab.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/devtools/actors/tab.rs b/components/devtools/actors/tab.rs index 062ec02af11..005009ebcc2 100644 --- a/components/devtools/actors/tab.rs +++ b/components/devtools/actors/tab.rs @@ -100,7 +100,7 @@ impl Actor for TabActor { let console_actor = registry.find::(self.console.as_slice()); console_actor.streams.borrow_mut().push(stream.clone()); stream.write_json_packet(&msg); - console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true)); + console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true)).unwrap(); true } @@ -114,7 +114,7 @@ impl Actor for TabActor { let console_actor = registry.find::(self.console.as_slice()); console_actor.streams.borrow_mut().pop(); stream.write_json_packet(&msg); - console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false)); + console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false)).unwrap(); true }