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

@ -39,11 +39,11 @@ impl HTMLOptionElement {
None
}
pub fn Label(&self) -> DOMString {
pub fn Label(&self) -> Option<DOMString> {
None
}
pub fn SetLabel(&mut self, _label: &DOMString) -> ErrorResult {
pub fn SetLabel(&mut self, _label: &Option<DOMString>) -> ErrorResult {
Ok(())
}
@ -63,19 +63,19 @@ impl HTMLOptionElement {
Ok(())
}
pub fn Value(&self) -> DOMString {
pub fn Value(&self) -> Option<DOMString> {
None
}
pub fn SetValue(&mut self, _value: &DOMString) -> ErrorResult {
pub fn SetValue(&mut self, _value: &Option<DOMString>) -> ErrorResult {
Ok(())
}
pub fn Text(&self) -> DOMString {
pub fn Text(&self) -> Option<DOMString> {
None
}
pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult {
pub fn SetText(&mut self, _text: &Option<DOMString>) -> ErrorResult {
Ok(())
}