Index: cloud_print/virtual_driver/win/install/setup.cc |
diff --git a/cloud_print/virtual_driver/win/install/setup.cc b/cloud_print/virtual_driver/win/install/setup.cc |
index 5d32737e4f1900afe9909c9f5813614c91cba9f7..0435eb312f6e508748b690237c6594ed71d1c637 100644 |
--- a/cloud_print/virtual_driver/win/install/setup.cc |
+++ b/cloud_print/virtual_driver/win/install/setup.cc |
@@ -147,7 +147,7 @@ HRESULT RegisterPortMonitor(bool install, const base::FilePath& install_path) { |
DWORD exit_code = S_OK; |
if (install) { |
- if (!GetExitCodeProcess(regsvr32_handle, &exit_code)) { |
+ if (!GetExitCodeProcess(regsvr32_handle.Get(), &exit_code)) { |
LOG(ERROR) << "Unable to get regsvr32.exe exit code."; |
return GetLastHResult(); |
} |