Skip to content

Commit

Permalink
Fix simpleservo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Jul 12, 2019
1 parent 4de93a1 commit 921d91f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/libsimpleservo/api/src/lib.rs
Expand Up @@ -22,7 +22,8 @@ use servo::script_traits::{TouchEventType, TouchId};
use servo::servo_config::opts;
use servo::servo_config::{pref, set_pref};
use servo::servo_url::ServoUrl;
use servo::webrender_api::{DevicePixel, FramebufferPixel, ScrollLocation};
use servo::webrender_api::units::DevicePixel;
use servo::webrender_api::ScrollLocation;
use servo::webvr::{VRExternalShmemPtr, VRMainThreadHeartbeat, VRService, VRServiceManager};
use servo::{self, gl, BrowserId, Servo};
use servo_media::player::context as MediaPlayerContext;
Expand Down Expand Up @@ -61,7 +62,7 @@ pub enum VRInitOptions {
#[derive(Clone, Debug)]
pub struct Coordinates {
pub viewport: TypedRect<i32, DevicePixel>,
pub framebuffer: TypedSize2D<i32, FramebufferPixel>,
pub framebuffer: TypedSize2D<i32, DevicePixel>,
}

impl Coordinates {
Expand Down

0 comments on commit 921d91f

Please sign in to comment.