mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update serde to 0.8 (fixes #12659)
This commit is contained in:
parent
a22913569c
commit
7ad51dcd7a
70 changed files with 919 additions and 778 deletions
|
@ -191,14 +191,14 @@ impl Actor for TimelineActor {
|
|||
|
||||
// init memory actor
|
||||
if let Some(with_memory) = msg.get("withMemory") {
|
||||
if let Some(true) = with_memory.as_boolean() {
|
||||
if let Some(true) = with_memory.as_bool() {
|
||||
*self.memory_actor.borrow_mut() = Some(MemoryActor::create(registry));
|
||||
}
|
||||
}
|
||||
|
||||
// init framerate actor
|
||||
if let Some(with_ticks) = msg.get("withTicks") {
|
||||
if let Some(true) = with_ticks.as_boolean() {
|
||||
if let Some(true) = with_ticks.as_bool() {
|
||||
let framerate_actor = Some(FramerateActor::create(
|
||||
registry,
|
||||
self.pipeline.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue