aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
diff options
context:
space:
mode:
authorMichael Partheil <michael.partheil@gmail.com>2017-07-18 18:48:57 +0200
committerMichael Partheil <michael.partheil@gmail.com>2017-07-19 09:29:05 +0200
commitb07ebbae6b92bc510a6ddbf24676498f86bf5a8a (patch)
treed2eab40052ec2062ae19bd4163feec66f43aa112 /components/script_layout_interface/message.rs
parentd403f404382c66485d9744787ce021556be59d6c (diff)
downloadservo-b07ebbae6b92bc510a6ddbf24676498f86bf5a8a.tar.gz
servo-b07ebbae6b92bc510a6ddbf24676498f86bf5a8a.zip
Replace all uses of the style::stylearc alias with servo_arc.
The alias is left there temporarilly and will be removed completely in a later commit where also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still use the old alias).
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r--components/script_layout_interface/message.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 4b1648bb6a2..bd68eaec7a6 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -14,6 +14,7 @@ use rpc::LayoutRPC;
use script_traits::{ConstellationControlMsg, LayoutControlMsg, LayoutMsg as ConstellationMsg};
use script_traits::{ScrollState, UntrustedNodeAddress, WindowSizeData};
use script_traits::Painter;
+use servo_arc::Arc as ServoArc;
use servo_atoms::Atom;
use servo_url::ServoUrl;
use std::sync::Arc;
@@ -26,7 +27,7 @@ use style::stylesheets::Stylesheet;
/// Asynchronous messages that script can send to layout.
pub enum Msg {
/// Adds the given stylesheet to the document.
- AddStylesheet(::style::stylearc::Arc<Stylesheet>),
+ AddStylesheet(ServoArc<Stylesheet>),
/// Change the quirks mode.
SetQuirksMode(QuirksMode),
@@ -133,7 +134,7 @@ pub struct ScriptReflow {
/// The document node.
pub document: TrustedNodeAddress,
/// The document's list of stylesheets.
- pub document_stylesheets: Vec<::style::stylearc::Arc<Stylesheet>>,
+ pub document_stylesheets: Vec<ServoArc<Stylesheet>>,
/// Whether the document's stylesheets have changed since the last script reflow.
pub stylesheets_changed: bool,
/// The current window size.