diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2013-12-17 10:08:01 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2013-12-17 18:07:41 -0800 |
commit | c506e52c7c6e80ea875e9d1ce95597cf3bc8bcc1 (patch) | |
tree | e2d427594d58d12abba49ac77a811c1229f5222f /src/components/main/css/node_util.rs | |
parent | ee9873bdb5563fe6119d2a8365f814a281ac73c6 (diff) | |
download | servo-c506e52c7c6e80ea875e9d1ce95597cf3bc8bcc1.tar.gz servo-c506e52c7c6e80ea875e9d1ce95597cf3bc8bcc1.zip |
layout: Add a lifetime to `LayoutNode` to prevent layout from stuffing
them into evil places.
Diffstat (limited to 'src/components/main/css/node_util.rs')
-rw-r--r-- | src/components/main/css/node_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/css/node_util.rs b/src/components/main/css/node_util.rs index 3b24f85e9de..72acf5dc08c 100644 --- a/src/components/main/css/node_util.rs +++ b/src/components/main/css/node_util.rs @@ -18,7 +18,7 @@ pub trait NodeUtil { fn set_restyle_damage(self, damage: RestyleDamage); } -impl NodeUtil for LayoutNode { +impl<'self> NodeUtil for LayoutNode<'self> { /** * Provides the computed style for the given node. If CSS selector * Returns the style results for the given node. If CSS selector |