diff options
author | Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com> | 2015-09-02 14:44:39 +0530 |
---|---|---|
committer | Prabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com> | 2015-09-02 22:20:33 +0530 |
commit | 105ea0d6906f72797cff930d2712e9230f051cc2 (patch) | |
tree | 6bad3aca168a39c89ef283d354fe6916d837ec21 /components/script/dom/htmltablecellelement.rs | |
parent | eaf90c0b1c14717fb580bb0bdb8f6c4db363ace6 (diff) | |
download | servo-105ea0d6906f72797cff930d2712e9230f051cc2.tar.gz servo-105ea0d6906f72797cff930d2712e9230f051cc2.zip |
renaming tokens(), atom() and uint() and rewriting to return or panic
Diffstat (limited to 'components/script/dom/htmltablecellelement.rs')
-rw-r--r-- | components/script/dom/htmltablecellelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmltablecellelement.rs b/components/script/dom/htmltablecellelement.rs index 0d3af25aebf..c67d02c8693 100644 --- a/components/script/dom/htmltablecellelement.rs +++ b/components/script/dom/htmltablecellelement.rs @@ -113,7 +113,7 @@ impl VirtualMethods for HTMLTableCellElement { }, &atom!(colspan) => { self.colspan.set(mutation.new_value(attr).map(|value| { - max(DEFAULT_COLSPAN, value.uint().unwrap()) + max(DEFAULT_COLSPAN, value.as_uint()) })); }, &atom!(width) => { |