diff options
Diffstat (limited to 'components/script_traits')
-rw-r--r-- | components/script_traits/lib.rs | 4 | ||||
-rw-r--r-- | components/script_traits/script_msg.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 3159de3a5c2..e330c49d441 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -68,7 +68,7 @@ use std::sync::Arc; use std::sync::mpsc::{Receiver, Sender, RecvTimeoutError}; use style_traits::CSSPixel; use style_traits::SpeculativePainter; -use style_traits::cursor::Cursor; +use style_traits::cursor::CursorKind; use webdriver_msg::{LoadStatus, WebDriverScriptCommand}; use webrender_api::{ClipId, DevicePixel, DocumentId, ImageKey}; use webvr_traits::{WebVREvent, WebVRMsg}; @@ -807,7 +807,7 @@ pub enum ConstellationMsg { /// Forward an event to the script task of the given pipeline. ForwardEvent(PipelineId, CompositorEvent), /// Requesting a change to the onscreen cursor. - SetCursor(Cursor), + SetCursor(CursorKind), } /// Resources required by workerglobalscopes diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index a9b5f86d8fe..6ff47b5e004 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -25,7 +25,7 @@ use net_traits::storage_thread::StorageType; use servo_url::ImmutableOrigin; use servo_url::ServoUrl; use style_traits::CSSPixel; -use style_traits::cursor::Cursor; +use style_traits::cursor::CursorKind; use style_traits::viewport::ViewportConstraints; /// Messages from the layout to the constellation. @@ -39,7 +39,7 @@ pub enum LayoutMsg { /// the time when the frame with the given ID (epoch) is painted. PendingPaintMetric(PipelineId, Epoch), /// Requests that the constellation inform the compositor of the a cursor change. - SetCursor(Cursor), + SetCursor(CursorKind), /// Notifies the constellation that the viewport has been constrained in some manner ViewportConstrained(PipelineId, ViewportConstraints), } |