From 7e13f9f843d160daf2969836412304812e637a39 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 6 Feb 2015 03:06:44 -0700 Subject: [PATCH] servo: Merge #4860 - Fix warnings introduced in #4852 (from Ms2ger:warnings-4852); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 63f6601c133fcee9c598c474695e3c740a02820d --- servo/components/devtools/actors/tab.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servo/components/devtools/actors/tab.rs b/servo/components/devtools/actors/tab.rs index 062ec02af11f..005009ebcc2a 100644 --- a/servo/components/devtools/actors/tab.rs +++ b/servo/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 }