aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-07-12 08:10:31 -0400
committerGitHub <noreply@github.com>2019-07-12 08:10:31 -0400
commitdf73c71fb18c144abedd6889c34dd1031ffcbb8e (patch)
treea5d41e6bf6a78b390fb7e0b2bb1f5ed22c936c64 /components/script_traits
parent026e550d3536115b23ad794e08b3c93147913dfb (diff)
parent30ea2827209c3c6982c4552c7d3f1193883025b1 (diff)
downloadservo-df73c71fb18c144abedd6889c34dd1031ffcbb8e.tar.gz
servo-df73c71fb18c144abedd6889c34dd1031ffcbb8e.zip
Auto merge of #23516 - pcwalton:webrenderup, r=pcwalton,jdm
Upgrade WebRender This is against an old Servo because I can't build current Servo due to compile errors in RNG crates. I verified that it starts up. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23516 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23516) <!-- Reviewable:end -->
Diffstat (limited to 'components/script_traits')
-rw-r--r--components/script_traits/lib.rs5
-rw-r--r--components/script_traits/script_msg.rs2
2 files changed, 3 insertions, 4 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 4b87a104a4d..4ed3f4f5d75 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -58,9 +58,8 @@ use std::sync::Arc;
use std::time::Duration;
use style_traits::CSSPixel;
use style_traits::SpeculativePainter;
-use webrender_api::{
- DeviceIntSize, DevicePixel, DocumentId, ExternalScrollId, ImageKey, RenderApiSender,
-};
+use webrender_api::units::{DeviceIntSize, DevicePixel};
+use webrender_api::{DocumentId, ExternalScrollId, ImageKey, RenderApiSender};
use webvr_traits::{WebVREvent, WebVRMsg};
pub use crate::script_msg::{
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index 6f11e2356df..4f7e45718e7 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -28,7 +28,7 @@ use servo_url::ServoUrl;
use std::fmt;
use style_traits::viewport::ViewportConstraints;
use style_traits::CSSPixel;
-use webrender_api::{DeviceIntPoint, DeviceIntSize};
+use webrender_api::units::{DeviceIntPoint, DeviceIntSize};
/// A particular iframe's size, associated with a browsing context.
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]