Index: chrome/common/process_watcher_win.cc |
diff --git a/chrome/common/process_watcher_win.cc b/chrome/common/process_watcher_win.cc |
index ed997806869ffdfb8b7a82958aa72314cc577cd2..8f37d3f13d76eb27143f9362d6f519f7f29afe0a 100644 |
--- a/chrome/common/process_watcher_win.cc |
+++ b/chrome/common/process_watcher_win.cc |
@@ -5,7 +5,7 @@ |
#include "chrome/common/process_watcher.h" |
#include "base/scoped_ptr.h" |
-#include "base/env_var.h" |
+#include "base/environment.h" |
#include "base/message_loop.h" |
#include "base/object_watcher.h" |
#include "chrome/common/env_vars.h" |
@@ -49,7 +49,7 @@ class TimerExpiredTask : public Task, public base::ObjectWatcher::Delegate { |
private: |
void KillProcess() { |
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create()); |
+ scoped_ptr<base::Environment> env(base::Environment::Create()); |
if (env->HasEnv(env_vars::kHeadless)) { |
// If running the distributed tests, give the renderer a little time |
// to figure out that the channel is shutdown and unwind. |