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

Unified Diff: ppapi/proxy/host_var_serialization_rules.cc

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build and some nacl tests. Created 9 years 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
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()));
}

Powered by Google App Engine
This is Rietveld 408576698