aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
authorIgor Gutorov <igootorov@gmail.com>2018-01-15 16:21:44 +0200
committerIgor Gutorov <igootorov@gmail.com>2018-01-20 19:06:29 +0200
commit4ee9eb8563fc5842f7139bcd60a36468e4222fc0 (patch)
tree245aacd9fd013d16311ef6bb575ada4f02fd73fb /components/script_traits/script_msg.rs
parent671b69c0b77f9a4bd0c098cb2a2f73c95dacb954 (diff)
downloadservo-4ee9eb8563fc5842f7139bcd60a36468e4222fc0.tar.gz
servo-4ee9eb8563fc5842f7139bcd60a36468e4222fc0.zip
style: Move cursor property out of mako
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs4
1 files changed, 2 insertions, 2 deletions
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),
}