Index: chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc |
index da2e2f50a5cb63d79462e4ea9d2f8865805fc4b1..e55eec2f65fb95b3ce31e319aa1dbcfe3ea70dc6 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc |
@@ -22,10 +22,8 @@ namespace { |
// Returns the path to the registry key holding profile-specific state values. |
base::string16 GetStateStoreKeyName() { |
- base::string16 key_name(L"Software\\"); |
- return key_name.append( |
- BrowserDistribution::GetDistribution()->GetInstallSubDir()) |
- .append(L"\\IncidentsSent"); |
+ return BrowserDistribution::GetDistribution()->GetRegistryPath().append( |
+ L"\\IncidentsSent"); |
} |
// Returns the name of the registry value for |profile|'s state. |