mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Rename ScreenPx to DeviceIndependentPixel.
This commit is contained in:
parent
ec5ed8edfd
commit
0af27a3434
9 changed files with 43 additions and 44 deletions
|
@ -10,7 +10,7 @@ use getopts::Options;
|
|||
use num_cpus;
|
||||
use prefs::{self, PrefValue, PREFS};
|
||||
use resource_files::set_resources_path;
|
||||
use servo_geometry::ScreenPx;
|
||||
use servo_geometry::DeviceIndependentPixel;
|
||||
use servo_url::ServoUrl;
|
||||
use std::borrow::Cow;
|
||||
use std::cmp;
|
||||
|
@ -143,7 +143,7 @@ pub struct Opts {
|
|||
pub webdriver_port: Option<u16>,
|
||||
|
||||
/// The initial requested size of the window.
|
||||
pub initial_window_size: TypedSize2D<u32, ScreenPx>,
|
||||
pub initial_window_size: TypedSize2D<u32, DeviceIndependentPixel>,
|
||||
|
||||
/// An optional string allowing the user agent to be set for testing.
|
||||
pub user_agent: Cow<'static, str>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue