Index: content/browser/browser_plugin/test_browser_plugin_guest.cc |
=================================================================== |
--- content/browser/browser_plugin/test_browser_plugin_guest.cc (revision 270218) |
+++ content/browser/browser_plugin/test_browser_plugin_guest.cc (working copy) |
@@ -36,9 +36,9 @@ |
void TestBrowserPluginGuest::SendMessageToEmbedder(IPC::Message* msg) { |
if (msg->type() == BrowserPluginMsg_UpdateRect::ID) { |
update_rect_count_++; |
- int instance_id = 0; |
- BrowserPluginMsg_UpdateRect_Params params; |
- BrowserPluginMsg_UpdateRect::Read(msg, &instance_id, ¶ms); |
+ BrowserPluginMsg_UpdateRect::Param param; |
+ BrowserPluginMsg_UpdateRect::Read(msg, ¶m); |
+ BrowserPluginMsg_UpdateRect_Params params = param.b; |
last_view_size_observed_ = params.view_size; |
if (!expected_auto_view_size_.IsEmpty() && |
expected_auto_view_size_ == params.view_size) { |