/*!
CSS stylesheets, owned types, immutable after creation
*/

use std::net::url::Url;
use util::DataStream;

pub struct Stylesheet {
    inner: netsurfcss::stylesheet::CssStylesheet
}

impl Stylesheet {
    static fn new(url: Url, input: DataStream) -> Stylesheet {
        Stylesheet {
            inner: parser::parse_stylesheet(move url, input)
        }
    }
}

/*!
CSS stylesheets, owned types, immutable after creation
*/

use std::net::url::Url;
use util::DataStream;

pub struct Stylesheet {
    inner: n::s::CssStylesheet
}

impl Stylesheet {
    static fn new(url: Url, input: DataStream) -> Stylesheet {
        Stylesheet {
            inner: parser::parse_stylesheet(move url, input)
        }
    }
}

--- 
+++ 
@@ -6,7 +6,7 @@
 use util::DataStream;
 
 pub struct Stylesheet {
-    inner: n::s::CssStylesheet
+    inner: netsurfcss::stylesheet::CssStylesheet
 }
 
 impl Stylesheet {
Stop relying on everything being reexported in netsurfcss
