From 637afecec972c290dcfe036df8e3fc7ebaa2bc0d Mon Sep 17 00:00:00 2001 From: Brandon Fairchild Date: Sun, 20 Dec 2015 19:21:51 -0500 Subject: Move LayerKind and ScrollPolicy enums to gfx_traits This also moves LayerId and LayerProperties to gfx_traits. Fixes #8836. --- components/script/script_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_task.rs') diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 94193b3077a..953bf3dacde 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -42,6 +42,7 @@ use dom::window::{ReflowReason, ScriptHelpers, Window}; use dom::worker::TrustedWorkerAddress; use euclid::Rect; use euclid::point::Point2D; +use gfx_traits::LayerId; use hyper::header::{ContentType, HttpDate}; use hyper::header::{Headers, LastModified}; use hyper::method::Method; @@ -61,7 +62,6 @@ use layout_interface::{ReflowQueryType}; use layout_interface::{self, LayoutChan, NewLayoutTaskInfo, ReflowGoal, ScriptLayoutChan}; use libc; use mem::heap_size_of_self_and_children; -use msg::compositor_msg::LayerId; use msg::constellation_msg::{ConstellationChan, LoadData}; use msg::constellation_msg::{MouseButton, MouseEventType, MozBrowserEvent, PipelineId}; use msg::constellation_msg::{PipelineNamespace}; -- cgit v1.2.3