diff options
author | Martin Robinson <mrobinson@igalia.com> | 2016-10-19 15:14:02 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2016-10-21 08:38:34 +0200 |
commit | ccb7ab926a3710c32d920b9ff09a0b7557639905 (patch) | |
tree | 631552b75c6b87f6498cabe402452e9f8e80f50b /components/script_traits/script_msg.rs | |
parent | e667e62f0ca8cd5fd21282333808cccaed8c957c (diff) | |
download | servo-ccb7ab926a3710c32d920b9ff09a0b7557639905.tar.gz servo-ccb7ab926a3710c32d920b9ff09a0b7557639905.zip |
Remove concept of Layers from Servo
Layers were a feature of the legacy drawing path. If we re-add them at
some point, it probably makes more sense to make them a product of
display list inspection.
This change also remove a bunch of dead painting code.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index d12ec99abef..a4977286589 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -13,7 +13,6 @@ use canvas_traits::CanvasMsg; use devtools_traits::{ScriptToDevtoolsControlMsg, WorkerId}; use euclid::point::Point2D; use euclid::size::Size2D; -use gfx_traits::LayerId; use ipc_channel::ipc::IpcSender; use msg::constellation_msg::{Key, KeyModifiers, KeyState, LoadData}; use msg::constellation_msg::{PipelineId, TraversalDirection}; @@ -114,7 +113,7 @@ pub enum ScriptMsg { /// Check if an alert dialog box should be presented Alert(PipelineId, String, IpcSender<bool>), /// Scroll a page in a window - ScrollFragmentPoint(PipelineId, LayerId, Point2D<f32>, bool), + ScrollFragmentPoint(PipelineId, Point2D<f32>, bool), /// Set title of current page /// https://html.spec.whatwg.org/multipage/#document.title SetTitle(PipelineId, Option<String>), |