File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -433,11 +433,7 @@ pub fn send_request_to_devtools(
433
433
. unwrap ( ) ;
434
434
}
435
435
436
- pub fn send_response_to_devtools (
437
- request : & mut Request ,
438
- context : & FetchContext ,
439
- response : & Response ,
440
- ) {
436
+ pub fn send_response_to_devtools ( request : & Request , context : & FetchContext , response : & Response ) {
441
437
if let ( Some ( devtools_chan) , Some ( pipeline_id) , Some ( webview_id) ) = (
442
438
context. devtools_chan . as_ref ( ) ,
443
439
request. pipeline_id ,
@@ -473,7 +469,7 @@ pub fn send_response_to_devtools(
473
469
}
474
470
}
475
471
476
- pub fn send_early_httprequest_to_devtools ( request : & mut Request , context : & FetchContext ) {
472
+ pub fn send_early_httprequest_to_devtools ( request : & Request , context : & FetchContext ) {
477
473
if let ( Some ( devtools_chan) , Some ( browsing_context_id) , Some ( pipeline_id) ) = (
478
474
context. devtools_chan . as_ref ( ) ,
479
475
request. target_webview_id . map ( |id| id. 0 ) ,
You can’t perform that action at this time.
0 commit comments