mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
parent
87af57cefc
commit
2764ec0f7b
5 changed files with 17 additions and 17 deletions
|
@ -77,10 +77,10 @@ impl Actor for TabActor {
|
|||
|
||||
fn handle_message(&self,
|
||||
registry: &ActorRegistry,
|
||||
msg_type: &String,
|
||||
msg_type: &str,
|
||||
_msg: &json::Object,
|
||||
stream: &mut TcpStream) -> Result<bool, ()> {
|
||||
Ok(match &**msg_type {
|
||||
Ok(match msg_type {
|
||||
"reconfigure" => {
|
||||
stream.write_json_packet(&ReconfigureReply { from: self.name() });
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue