aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/devtools/lib.rs')
-rw-r--r--components/devtools/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs
index caa55bf425b..6b6b407d3bd 100644
--- a/components/devtools/lib.rs
+++ b/components/devtools/lib.rs
@@ -340,7 +340,7 @@ fn run_server(
});
// Add existing streams to the new browsing context
- let browsing_context = actors.find::<BrowsingContextActor>(&name);
+ let browsing_context = actors.find::<BrowsingContextActor>(name);
let mut streams = browsing_context.streams.borrow_mut();
for (id, stream) in connections {
streams.insert(*id, stream.try_clone().unwrap());