mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rework “visible” to “throttled” in embedder-to-constellation + jniapi (#31815)
This commit is contained in:
parent
49c6f9e463
commit
0b863de846
7 changed files with 16 additions and 16 deletions
|
@ -783,11 +783,11 @@ where
|
|||
}
|
||||
},
|
||||
|
||||
EmbedderEvent::WebViewVisibilityChanged(webview_id, visible) => {
|
||||
let msg = ConstellationMsg::WebViewVisibilityChanged(webview_id, visible);
|
||||
EmbedderEvent::SetWebViewThrottled(webview_id, throttled) => {
|
||||
let msg = ConstellationMsg::SetWebViewThrottled(webview_id, throttled);
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!(
|
||||
"Sending WebViewVisibilityChanged to constellation failed ({:?}).",
|
||||
"Sending SetWebViewThrottled to constellation failed ({:?}).",
|
||||
e
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue