diff options
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 730b52c6f96..038560338b0 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -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 ); } |