Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4056)

Unified Diff: chrome/plugin/npobject_proxy.cc

Issue 20515: Fix plugin hang that Earth team found.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/plugin/npobject_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/npobject_proxy.cc
===================================================================
--- chrome/plugin/npobject_proxy.cc (revision 10079)
+++ chrome/plugin/npobject_proxy.cc (working copy)
@@ -163,7 +163,8 @@
std::vector<NPVariant_Param> args_param;
for (unsigned int i = 0; i < arg_count; ++i) {
NPVariant_Param param;
- CreateNPVariantParam(args[i], channel_copy, &param, false);
+ CreateNPVariantParam(
+ args[i], channel_copy, &param, false, proxy->modal_dialog_event_);
args_param.push_back(param);
}
@@ -266,7 +267,9 @@
CreateNPIdentifierParam(name, &name_param);
NPVariant_Param value_param;
- CreateNPVariantParam(*value, proxy->channel(), &value_param, false);
+ CreateNPVariantParam(
+ *value, proxy->channel(), &value_param, false,
+ proxy->modal_dialog_event_);
proxy->Send(new NPObjectMsg_SetProperty(
proxy->route_id(), name_param, value_param, &result));
« no previous file with comments | « no previous file | chrome/plugin/npobject_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698