Index: chrome/installer/setup/install_worker.cc |
diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc |
index 09160a1f27f1b0a2460db55a9afde283524d0473..10f5c01a8c11c202382ed3a88f204620010a0647 100644 |
--- a/chrome/installer/setup/install_worker.cc |
+++ b/chrome/installer/setup/install_worker.cc |
@@ -1255,9 +1255,9 @@ void AddDelegateExecuteWorkItems(const InstallerState& installer_state, |
const Version& new_version, |
const Product& product, |
WorkItemList* list) { |
- base::string16 handler_class_uuid; |
BrowserDistribution* dist = product.distribution(); |
- if (!dist->GetCommandExecuteImplClsid(&handler_class_uuid)) { |
+ const base::string16 handler_class_uuid = dist->GetCommandExecuteImplClsid(); |
+ if (handler_class_uuid.empty()) { |
if (InstallUtil::IsChromeSxSProcess()) { |
CleanupBadCanaryDelegateExecuteRegistration(target_path, list); |
} else { |