mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix incorrect indentation in handle_take_screenshot.
This commit is contained in:
parent
2e16c3ca8a
commit
0f6197a0fd
1 changed files with 3 additions and 3 deletions
|
@ -622,9 +622,9 @@ impl Handler {
|
|||
};
|
||||
|
||||
let img_vec = match png::to_vec(&mut img) {
|
||||
Ok(x) => x,
|
||||
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
|
||||
"Taking screenshot failed"))
|
||||
Ok(x) => x,
|
||||
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
|
||||
"Taking screenshot failed"))
|
||||
};
|
||||
let config = Config {
|
||||
char_set: CharacterSet::Standard,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue