aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlparagraphelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlparagraphelement.rs')
-rw-r--r--src/components/script/dom/htmlparagraphelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlparagraphelement.rs b/src/components/script/dom/htmlparagraphelement.rs
index 618a22d94d9..d09b4d6bc0a 100644
--- a/src/components/script/dom/htmlparagraphelement.rs
+++ b/src/components/script/dom/htmlparagraphelement.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 HTMLParagraphElement {
@@ -11,7 +11,7 @@ pub struct HTMLParagraphElement {
impl HTMLParagraphElement {
pub fn Align(&self) -> DOMString {
- null_string
+ None
}
pub fn SetAlign(&mut self, _align: &DOMString, _rv: &mut ErrorResult) {