Chromium Code Reviews| Index: chrome/browser/custom_handlers/protocol_handler_registry.cc |
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
| index 0300e6d7fa894d6c0af8c6466a690f7a6e6c083d..c94e8799761c03db2a835efa552cb93a0af9b3fe 100644 |
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc |
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
| @@ -39,7 +39,8 @@ bool ShouldRemoveHandlersNotInOS() { |
| // difference (http://crbug.com/88255). |
| return false; |
| #else |
| - return ShellIntegration::CanSetAsDefaultProtocolClient(); |
| + return ShellIntegration::CHANGE_DEFAULT_NOT_ALLOWED != |
|
grt (UTC plus 2)
2012/05/25 20:27:38
although i personally like comparisons like this (
motek.
2012/05/28 17:40:33
Yeah. I remember I had such a hard time adjusting
|
| + ShellIntegration::CanSetAsDefaultProtocolClient(); |
|
grt (UTC plus 2)
2012/05/25 20:27:38
nit: indent two more spaces
motek.
2012/05/28 17:40:33
Done.
|
| #endif |
| } |