| Index: chrome/common/process_watcher_win.cc
|
| diff --git a/chrome/common/process_watcher_win.cc b/chrome/common/process_watcher_win.cc
|
| index 8f37d3f13d76eb27143f9362d6f519f7f29afe0a..210b3d5589fa1dc6fa15dadb248d981728823aab 100644
|
| --- a/chrome/common/process_watcher_win.cc
|
| +++ b/chrome/common/process_watcher_win.cc
|
| @@ -50,7 +50,7 @@ class TimerExpiredTask : public Task, public base::ObjectWatcher::Delegate {
|
| private:
|
| void KillProcess() {
|
| scoped_ptr<base::Environment> env(base::Environment::Create());
|
| - if (env->HasEnv(env_vars::kHeadless)) {
|
| + if (env->HasVar(env_vars::kHeadless)) {
|
| // If running the distributed tests, give the renderer a little time
|
| // to figure out that the channel is shutdown and unwind.
|
| if (WaitForSingleObject(process_, kWaitInterval) == WAIT_OBJECT_0) {
|
|
|