Chromium Code Reviews| Index: chrome/installer/setup/uninstall.cc |
| diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
| index 6aeee430051aa54318d8d406e11e72c7d7cab7ca..31e7034b233606cabecb2744cc250f0749e9259e 100644 |
| --- a/chrome/installer/setup/uninstall.cc |
| +++ b/chrome/installer/setup/uninstall.cc |
| @@ -559,8 +559,9 @@ bool DeleteChromeRegistrationKeys(BrowserDistribution* dist, HKEY root, |
| std::wstring parent_key(ShellUtil::kRegClasses); |
| const std::wstring::size_type base_length = parent_key.size(); |
| std::wstring child_key; |
| - for (const wchar_t* const* proto = &ShellUtil::kProtocolAssociations[0]; |
| - *proto != NULL; ++proto) { |
| + for (const wchar_t* const* proto = |
| + &ShellUtil::kPotentialProtocolAssociations[0]; |
|
Mark Mentovai
2011/05/23 00:23:52
I find this difficult to read because you’ve got t
benwells
2011/05/23 06:08:37
Ah great, thanks for the suggestion. That looks mu
benwells
2011/05/24 06:10:38
Done.
|
| + *proto != NULL; ++proto) { |
| parent_key.resize(base_length); |
| file_util::AppendToPath(&parent_key, *proto); |
| child_key.assign(parent_key).append(ShellUtil::kRegShellOpen); |