Make DOMString represent a non-nullable string.

This commit is contained in:
Ms2ger 2013-11-09 21:30:41 +01:00
parent 2975cb69e3
commit 803cd4b7cf
75 changed files with 632 additions and 632 deletions

View file

@ -27,19 +27,19 @@ impl HTMLBaseElement {
}
impl HTMLBaseElement {
pub fn Href(&self) -> DOMString {
pub fn Href(&self) -> Option<DOMString> {
None
}
pub fn SetHref(&self, _href: &DOMString) -> ErrorResult {
pub fn SetHref(&self, _href: &Option<DOMString>) -> ErrorResult {
Ok(())
}
pub fn Target(&self) -> DOMString {
pub fn Target(&self) -> Option<DOMString> {
None
}
pub fn SetTarget(&self, _target: &DOMString) -> ErrorResult {
pub fn SetTarget(&self, _target: &Option<DOMString>) -> ErrorResult {
Ok(())
}
}