aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlvideoelement.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2013-09-18 14:46:42 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2013-09-18 14:46:42 -0700
commit68ddc6b4ab653072841489a56421f52dd2c1e87a (patch)
tree15b39e5cd4347f46580a13244758ff6f770e0b9a /src/components/script/dom/htmlvideoelement.rs
parent5be084a3b6fe2557519d4cd8506efb6b026464d3 (diff)
downloadservo-68ddc6b4ab653072841489a56421f52dd2c1e87a.tar.gz
servo-68ddc6b4ab653072841489a56421f52dd2c1e87a.zip
Make DOMString an alias for Option<~str>
Fixes #898.
Diffstat (limited to 'src/components/script/dom/htmlvideoelement.rs')
-rw-r--r--src/components/script/dom/htmlvideoelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlvideoelement.rs b/src/components/script/dom/htmlvideoelement.rs
index 19a6a546fed..68f34b28665 100644
--- a/src/components/script/dom/htmlvideoelement.rs
+++ b/src/components/script/dom/htmlvideoelement.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::htmlmediaelement::HTMLMediaElement;
pub struct HTMLVideoElement {
@@ -33,7 +33,7 @@ impl HTMLVideoElement {
}
pub fn Poster(&self) -> DOMString {
- null_string
+ None
}
pub fn SetPoster(&mut self, _poster: &DOMString, _rv: &ErrorResult) {