aboutsummaryrefslogtreecommitdiffstats
path: root/ports/gstplugin
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-11-20 10:30:02 -0500
committerJosh Matthews <josh@joshmatthews.net>2021-03-05 20:00:30 -0500
commit10231573be736a0bd4e3c8e85e88a03b748db0ef (patch)
treeb2c423779eb82aac5132c234998ffc9aaefa8131 /ports/gstplugin
parent970ab0348f897978e75f32cf5dd69c0f1778fd61 (diff)
downloadservo-10231573be736a0bd4e3c8e85e88a03b748db0ef.tar.gz
servo-10231573be736a0bd4e3c8e85e88a03b748db0ef.zip
Update to winit 0.24.
Co-authored-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Paulo E. Castro <pecastro@wormholenet.com>
Diffstat (limited to 'ports/gstplugin')
-rw-r--r--ports/gstplugin/Cargo.toml4
-rw-r--r--ports/gstplugin/servowebsrc.rs4
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/gstplugin/Cargo.toml b/ports/gstplugin/Cargo.toml
index 4ad10399c0d..6bc536351d4 100644
--- a/ports/gstplugin/Cargo.toml
+++ b/ports/gstplugin/Cargo.toml
@@ -29,8 +29,8 @@ libservo = { path = "../../components/servo" }
log = "0.4"
servo-media = { git = "https://github.com/servo/media" }
sparkle = "0.1"
-surfman = "0.3"
-surfman-chains = "0.5"
+surfman = "0.4"
+surfman-chains = "0.6"
surfman-chains-api = "0.2"
webxr = { git = "https://github.com/servo/webxr", features = ["glwindow"] }
diff --git a/ports/gstplugin/servowebsrc.rs b/ports/gstplugin/servowebsrc.rs
index 4a8e8291b00..4ca85470228 100644
--- a/ports/gstplugin/servowebsrc.rs
+++ b/ports/gstplugin/servowebsrc.rs
@@ -249,7 +249,9 @@ impl ServoThread {
ServoWebSrcMsg::GetSwapChain(sender) => self.send_swap_chain(sender),
ServoWebSrcMsg::SetSwapChain(swap_chain) => self.swap_chain = Some(swap_chain.0),
ServoWebSrcMsg::Resize(size) => self.resize(size),
- ServoWebSrcMsg::Heartbeat => self.servo.handle_events(vec![]),
+ ServoWebSrcMsg::Heartbeat => {
+ self.servo.handle_events(vec![]);
+ }
ServoWebSrcMsg::Stop => break,
}
}