aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlhtmlelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlhtmlelement.rs')
-rw-r--r--src/components/script/dom/htmlhtmlelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlhtmlelement.rs b/src/components/script/dom/htmlhtmlelement.rs
index 7aa36abb90c..4221f9c679f 100644
--- a/src/components/script/dom/htmlhtmlelement.rs
+++ b/src/components/script/dom/htmlhtmlelement.rs
@@ -2,7 +2,7 @@
* 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/. */
-use dom::bindings::utils::{DOMString, null_string, ErrorResult};
+use dom::bindings::utils::{DOMString, ErrorResult};
use dom::htmlelement::HTMLElement;
pub struct HTMLHtmlElement {
@@ -11,7 +11,7 @@ pub struct HTMLHtmlElement {
impl HTMLHtmlElement {
pub fn Version(&self) -> DOMString {
- null_string
+ None
}
pub fn SetVersion(&mut self, _version: &DOMString, _rv: &mut ErrorResult) {