mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #22087 - Eijebong:rust_serialize, r=jdm
Remove rustc-serialize from the dependencies Closes #12410. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22087) <!-- Reviewable:end -->
This commit is contained in:
commit
741bd8e739
8 changed files with 40 additions and 69 deletions
|
@ -4420,7 +4420,7 @@ impl DocumentMethods for Document {
|
|||
}
|
||||
|
||||
fn update_with_current_time_ms(marker: &Cell<u64>) {
|
||||
if marker.get() == Default::default() {
|
||||
if marker.get() == 0 {
|
||||
let time = time::get_time();
|
||||
let current_time_ms = time.sec * 1000 + time.nsec as i64 / 1000000;
|
||||
marker.set(current_time_ms as u64);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue