| Index: ppapi/proxy/plugin_var_serialization_rules.cc
|
| diff --git a/ppapi/proxy/plugin_var_serialization_rules.cc b/ppapi/proxy/plugin_var_serialization_rules.cc
|
| index 3d9975a21efc26a273fd9b53ee0109c446703c07..155c844791b93661029c8be1c56e24a765b5aac2 100644
|
| --- a/ppapi/proxy/plugin_var_serialization_rules.cc
|
| +++ b/ppapi/proxy/plugin_var_serialization_rules.cc
|
| @@ -44,7 +44,7 @@ PP_Var PluginVarSerializationRules::BeginReceiveCallerOwned(
|
| const std::string* str_val,
|
| Dispatcher* dispatcher) {
|
| if (var.type == PP_VARTYPE_STRING)
|
| - return StringVar::StringToPPVar(0, *str_val);
|
| + return StringVar::StringToPPVar(*str_val);
|
|
|
| if (var.type == PP_VARTYPE_OBJECT) {
|
| DCHECK(dispatcher->IsPlugin());
|
| @@ -68,7 +68,7 @@ PP_Var PluginVarSerializationRules::ReceivePassRef(const PP_Var& var,
|
| const std::string& str_val,
|
| Dispatcher* dispatcher) {
|
| if (var.type == PP_VARTYPE_STRING)
|
| - return StringVar::StringToPPVar(0, str_val);
|
| + return StringVar::StringToPPVar(str_val);
|
|
|
| // Overview of sending an object with "pass ref" from the browser to the
|
| // plugin:
|
|
|