mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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) {
|
let img_vec = match png::to_vec(&mut img) {
|
||||||
Ok(x) => x,
|
Ok(x) => x,
|
||||||
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
|
Err(_) => return Err(WebDriverError::new(ErrorStatus::UnknownError,
|
||||||
"Taking screenshot failed"))
|
"Taking screenshot failed"))
|
||||||
};
|
};
|
||||||
let config = Config {
|
let config = Config {
|
||||||
char_set: CharacterSet::Standard,
|
char_set: CharacterSet::Standard,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue