| Index: components/nacl/zygote/nacl_fork_delegate_linux.cc
|
| diff --git a/components/nacl/zygote/nacl_fork_delegate_linux.cc b/components/nacl/zygote/nacl_fork_delegate_linux.cc
|
| index 40e3a53079c22feded1a0a8b6e1ade9d31768b46..2eb3f83b65b3a18d26a73c57a701fa5ba271010d 100644
|
| --- a/components/nacl/zygote/nacl_fork_delegate_linux.cc
|
| +++ b/components/nacl/zygote/nacl_fork_delegate_linux.cc
|
| @@ -459,7 +459,7 @@ void NaClForkDelegate::AddPassthroughEnvToOptions(
|
| pass_through_vars.push_back(sandbox::kSandboxEnvironmentApiRequest);
|
| for (size_t i = 0; i < pass_through_vars.size(); ++i) {
|
| std::string temp;
|
| - if (env->GetVar(pass_through_vars[i].c_str(), &temp))
|
| + if (env->GetVar(pass_through_vars[i], &temp))
|
| options->environ[pass_through_vars[i]] = temp;
|
| }
|
| }
|
|
|