mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -440,7 +440,11 @@ impl Request {
|
|||
}
|
||||
|
||||
impl Request {
|
||||
fn from_net_request(global: &GlobalScope, proto: Option<HandleObject>, net_request: NetTraitsRequest) -> DomRoot<Request> {
|
||||
fn from_net_request(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
net_request: NetTraitsRequest,
|
||||
) -> DomRoot<Request> {
|
||||
let r = Request::new(global, proto, net_request.current_url());
|
||||
*r.request.borrow_mut() = net_request;
|
||||
r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue