Only export an explicit public API in the style crate

I.e. make every module private by default.
This commit is contained in:
Simon Sapin 2013-10-24 16:09:46 +02:00
parent 23e3757db6
commit 7a48cb6815
8 changed files with 39 additions and 43 deletions

View file

@ -32,7 +32,7 @@ use gfx::render_task::{RenderMsg, RenderChan, RenderLayer};
use gfx::render_task;
use style::Stylist;
use style::Stylesheet;
use style::selector_matching::AuthorOrigin;
use style::AuthorOrigin;
use script::dom::event::ReflowEvent;
use script::dom::node::{AbstractNode, LayoutView};
use script::layout_interface::{AddStylesheetMsg, ContentBoxQuery};
@ -240,7 +240,7 @@ impl LayoutTask {
screen_size: None,
display_list: None,
stylist: RWArc::new(new_stylist()),
profiler_chan: profiler_chan,
}