Index: chrome/install_static/install_util.cc |
diff --git a/chrome/install_static/install_util.cc b/chrome/install_static/install_util.cc |
index bb8049b40af36a95cc37062561407e61ff05c1ec..c7b08493e506b64f310684fe018f6794c870334c 100644 |
--- a/chrome/install_static/install_util.cc |
+++ b/chrome/install_static/install_util.cc |
@@ -250,10 +250,9 @@ std::wstring GetChromeInstallRegistryPath() { |
bool GetCollectStatsConsentImpl(const std::wstring& exe_path) { |
bool enabled = true; |
- bool controlled_by_policy = ReportingIsEnforcedByPolicy(&enabled); |
- if (controlled_by_policy && !enabled) |
- return false; |
+ if (ReportingIsEnforcedByPolicy(&enabled)) |
+ return enabled; |
bool system_install = IsSystemInstall(exe_path.c_str()); |
std::wstring app_guid; |