summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/npobject_proxy.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 18:44:29 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 18:44:29 +0000
commit6408eba7f314035688d4222360d0b0346f0ed2f7 (patch)
treeb86b552ee768762b4ebdd581779bcbe6b3c16ed9 /chrome/plugin/npobject_proxy.cc
parente6d08cad82c6175196682a0730be347d5dddd415 (diff)
downloadchromium_src-6408eba7f314035688d4222360d0b0346f0ed2f7.zip
chromium_src-6408eba7f314035688d4222360d0b0346f0ed2f7.tar.gz
chromium_src-6408eba7f314035688d4222360d0b0346f0ed2f7.tar.bz2
Improve NPRuntime marshalling by adding glue functions for serializing / deserializing a NPIdentifier. Also kill some extraneous std::string copies in NPVariant_Param code.
If you like I could eliminate NPIdentifier_Param in place of using NPIdentifier directly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/npobject_proxy.cc')
-rw-r--r--chrome/plugin/npobject_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/npobject_proxy.cc b/chrome/plugin/npobject_proxy.cc
index 2dc8819..edc5b1c 100644
--- a/chrome/plugin/npobject_proxy.cc
+++ b/chrome/plugin/npobject_proxy.cc
@@ -176,7 +176,7 @@ bool NPObjectProxy::NPInvokePrivate(NPP npp,
NPIdentifier_Param name_param;
if (is_default) {
// The data won't actually get used, but set it so we don't send random data.
- name_param.is_string = true;
+ name_param.identifier = NULL;
} else {
CreateNPIdentifierParam(name, &name_param);
}