Index: ppapi/proxy/host_var_serialization_rules.cc |
diff --git a/ppapi/proxy/host_var_serialization_rules.cc b/ppapi/proxy/host_var_serialization_rules.cc |
index 84e0b4c40eae7e4523b41ade444b47238be45fc6..ae6b7f7c4845bd9a2e7a0b1874da038873ffba50 100644 |
--- a/ppapi/proxy/host_var_serialization_rules.cc |
+++ b/ppapi/proxy/host_var_serialization_rules.cc |
@@ -33,7 +33,7 @@ PP_Var HostVarSerializationRules::BeginReceiveCallerOwned( |
Dispatcher* /* dispatcher */) { |
if (var.type == PP_VARTYPE_STRING) { |
// Convert the string to the context of the current process. |
- return var_interface_->VarFromUtf8(pp_module_, str_val->c_str(), |
+ return var_interface_->VarFromUtf8(str_val->c_str(), |
static_cast<uint32_t>(str_val->size())); |
} |
return var; |
@@ -51,7 +51,7 @@ PP_Var HostVarSerializationRules::ReceivePassRef(const PP_Var& var, |
Dispatcher* /* dispatcher */) { |
if (var.type == PP_VARTYPE_STRING) { |
// Convert the string to the context of the current process. |
- return var_interface_->VarFromUtf8(pp_module_, str_val.c_str(), |
+ return var_interface_->VarFromUtf8(str_val.c_str(), |
static_cast<uint32_t>(str_val.size())); |
} |