Index: chrome/browser/safe_browsing/protocol_manager.cc |
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc |
index 886c8050bcd9dcf7aae93bd6ce2b804166efa3bd..732b4163438f3045bd8f9df2728ffd68d2e23ac1 100644 |
--- a/chrome/browser/safe_browsing/protocol_manager.cc |
+++ b/chrome/browser/safe_browsing/protocol_manager.cc |
@@ -419,7 +419,7 @@ bool SafeBrowsingProtocolManager::HandleServiceResponse(const GURL& url, |
void SafeBrowsingProtocolManager::Initialize() { |
// Don't want to hit the safe browsing servers on build/chrome bots. |
scoped_ptr<base::Environment> env(base::Environment::Create()); |
- if (env->HasEnv(env_vars::kHeadless)) |
+ if (env->HasVar(env_vars::kHeadless)) |
return; |
ScheduleNextUpdate(false /* no back off */); |