mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Update euclid.
There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
This commit is contained in:
parent
2ff7cb5a37
commit
3d57c22e9c
133 changed files with 686 additions and 596 deletions
|
@ -14,7 +14,7 @@ path = "lib.rs"
|
|||
base64 = "0.10"
|
||||
cookie = "0.11"
|
||||
crossbeam-channel = "0.3"
|
||||
euclid = "0.19"
|
||||
euclid = "0.20"
|
||||
hyper = "0.12"
|
||||
image = "0.21"
|
||||
ipc-channel = "0.11"
|
||||
|
|
|
@ -18,7 +18,7 @@ mod capabilities;
|
|||
use base64;
|
||||
use capabilities::ServoCapabilities;
|
||||
use crossbeam_channel::Sender;
|
||||
use euclid::TypedSize2D;
|
||||
use euclid::Size2D;
|
||||
use hyper::Method;
|
||||
use image::{DynamicImage, ImageFormat, RgbImage};
|
||||
use ipc_channel::ipc::{self, IpcReceiver, IpcSender};
|
||||
|
@ -667,7 +667,7 @@ impl Handler {
|
|||
Some(v) => v,
|
||||
None => 0,
|
||||
};
|
||||
let size = TypedSize2D::new(width as u32, height as u32);
|
||||
let size = Size2D::new(width as u32, height as u32);
|
||||
let top_level_browsing_context_id = self.session()?.top_level_browsing_context_id;
|
||||
let cmd_msg = WebDriverCommandMsg::SetWindowSize(
|
||||
top_level_browsing_context_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue