Index: chrome/renderer/webplugin_delegate_proxy.cc |
=================================================================== |
--- chrome/renderer/webplugin_delegate_proxy.cc (revision 8043) |
+++ chrome/renderer/webplugin_delegate_proxy.cc (working copy) |
@@ -152,7 +152,6 @@ |
windowless_(false), |
npobject_(NULL), |
send_deferred_update_geometry_(false), |
- visible_(false), |
sad_plugin_(NULL), |
window_script_object_(NULL), |
transparent_(false), |
@@ -196,8 +195,6 @@ |
Send(new PluginMsg_UpdateGeometry(instance_id_, |
plugin_rect_, |
deferred_clip_rect_, |
- deferred_cutout_rects_, |
- visible_, |
NULL, |
NULL)); |
} |
@@ -350,14 +347,10 @@ |
void WebPluginDelegateProxy::UpdateGeometry( |
const gfx::Rect& window_rect, |
- const gfx::Rect& clip_rect, |
- const std::vector<gfx::Rect>& cutout_rects, |
- bool visible) { |
+ const gfx::Rect& clip_rect) { |
plugin_rect_ = window_rect; |
if (!windowless_) { |
deferred_clip_rect_ = clip_rect; |
- deferred_cutout_rects_ = cutout_rects; |
- visible_ = visible; |
send_deferred_update_geometry_ = true; |
return; |
} |
@@ -387,7 +380,7 @@ |
} |
IPC::Message* msg = new PluginMsg_UpdateGeometry( |
- instance_id_, window_rect, clip_rect, cutout_rects, visible, |
+ instance_id_, window_rect, clip_rect, |
transport_store_handle, background_store_handle); |
msg->set_unblock(true); |
Send(msg); |