mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove rustc-serialize from the dependencies
This commit is contained in:
parent
da2d9b2228
commit
221199d277
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