diff options
Diffstat (limited to 'src/servo/layout/context.rs')
-rw-r--r-- | src/servo/layout/context.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/servo/layout/context.rs b/src/servo/layout/context.rs index dabcdefbf40..8646b9faabc 100644 --- a/src/servo/layout/context.rs +++ b/src/servo/layout/context.rs @@ -2,14 +2,15 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +//! Data needed by the layout task. + use geom::rect::Rect; use gfx::font_context::FontContext; use gfx::geometry::Au; -use gfx::resource::local_image_cache::LocalImageCache; +use servo_net::local_image_cache::LocalImageCache; use std::net::url::Url; -/* Represents layout task context. */ - +/// Data needed by the layout task. pub struct LayoutContext { font_ctx: @mut FontContext, image_cache: @mut LocalImageCache, |