Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index 582ef07bde29f55ce79f8cd2ba5b907f64f1d17c..4a4872339d7bd6e00a0368acf77906d023012900 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -610,7 +610,10 @@ bool LaunchSelectDefaultProtocolHandlerDialog(const wchar_t* protocol) { |
HRESULT hr = SHOpenWithDialog(NULL, &open_as_info); |
DLOG_IF(WARNING, FAILED(hr)) << "Failed to set as default " << protocol |
<< " handler; hr=0x" << std::hex << hr; |
- return SUCCEEDED(hr); |
+ if (FAILED(hr)) |
+ return false; |
+ SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL); |
+ return true; |
} |
// Launches the Windows 7 and Windows 8 application association dialog, which |