Commit be6a084d authored by dmichael@chromium.org's avatar dmichael@chromium.org

Update the NaCl SDK C example to handle removing module from VarFromUtf8

BUG=106596
TEST=NaCl SDK Hello World C example builds and runs successfully.
TBR=noelallen1

Review URL: http://codereview.chromium.org/8883008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113557 0039d316-1c4b-4281-b951-d872f2087c98
parent f0c662c2
......@@ -70,7 +70,7 @@ static char* VarToCStr(struct PP_Var var) {
*/
static struct PP_Var CStrToVar(const char* str) {
if (ppb_var_interface != NULL) {
return ppb_var_interface->VarFromUtf8(module_id, str, strlen(str));
return ppb_var_interface->VarFromUtf8(str, strlen(str));
}
return PP_MakeUndefined();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment