| Index: chrome/browser/shell_integration_win.cc
|
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
|
| index 0aa9d94eccd11ee22e59fddf19969d20d268fa8a..f4b75e6edabdcc154aaf245823845e70ffdbc256 100644
|
| --- a/chrome/browser/shell_integration_win.cc
|
| +++ b/chrome/browser/shell_integration_win.cc
|
| @@ -373,7 +373,10 @@ ShellIntegration::DefaultWebClientState
|
|
|
| string16 wprotocol = UTF8ToUTF16(protocol);
|
|
|
| - if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
|
| + if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
|
| + // Windows 8 has removed the ability to ask about the default handlers.
|
| + return UNKNOWN_DEFAULT_WEB_CLIENT;
|
| + } else if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
|
| base::win::ScopedComPtr<IApplicationAssociationRegistration> pAAR;
|
| HRESULT hr = pAAR.CreateInstance(CLSID_ApplicationAssociationRegistration,
|
| NULL, CLSCTX_INPROC);
|
|
|