diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 18:44:29 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 18:44:29 +0000 |
commit | 6408eba7f314035688d4222360d0b0346f0ed2f7 (patch) | |
tree | b86b552ee768762b4ebdd581779bcbe6b3c16ed9 /chrome/plugin/npobject_proxy.cc | |
parent | e6d08cad82c6175196682a0730be347d5dddd415 (diff) | |
download | chromium_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.cc | 2 |
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); } |