| Index: components/browser_watcher/exit_funnel_win.cc
|
| diff --git a/components/browser_watcher/exit_funnel_win.cc b/components/browser_watcher/exit_funnel_win.cc
|
| index 5a817684fc734ad436505612b2ebfa534737bb94..3fce96a8f8cb62ecf6423508bc96c212253f8ba6 100644
|
| --- a/components/browser_watcher/exit_funnel_win.cc
|
| +++ b/components/browser_watcher/exit_funnel_win.cc
|
| @@ -38,8 +38,9 @@ bool ExitFunnel::InitImpl(const base::char16* registry_path,
|
| base::ProcessId pid,
|
| base::Time creation_time) {
|
| base::string16 key_name = registry_path;
|
| - base::StringAppendF(
|
| - &key_name, L"\\%d-%lld", pid, creation_time.ToInternalValue());
|
| + // Safe
|
| + //base::StringAppendF(
|
| + // &key_name, L"\\%d-%lld", pid, creation_time.ToInternalValue());
|
|
|
| LONG res = key_.Create(HKEY_CURRENT_USER, key_name.c_str(), KEY_SET_VALUE);
|
| if (res != ERROR_SUCCESS) {
|
|
|