summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index da19300..b71798e 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -872,7 +872,8 @@ void WebPluginDelegateProxy::SetContainerVisibility(bool is_visible) {
// TODO(stuartmorgan): Split this into two messages, and send location and
// focus information with the "became visible" version since the plugins in a
// hidden tab will not have been getting live updates.
- IPC::Message* msg = new PluginMsg_SetWindowFocus(instance_id_, is_visible);
+ IPC::Message* msg = new PluginMsg_SetContainerVisibility(instance_id_,
+ is_visible);
// Make sure visibility events are delivered in the right order relative to
// sync messages they might interact with (Paint, HandleEvent, etc.).
msg->set_unblock(true);