Index: components/update_client/background_downloader_win.cc |
diff --git a/components/update_client/background_downloader_win.cc b/components/update_client/background_downloader_win.cc |
index cdbc519706a8e944607e3c2a4a8e132076a2681c..4381098f3bce3d1a11f3cef614de6035d3a87ae0 100644 |
--- a/components/update_client/background_downloader_win.cc |
+++ b/components/update_client/background_downloader_win.cc |
@@ -6,6 +6,7 @@ |
#include <atlbase.h> |
#include <atlcom.h> |
+#include <objbase.h> |
#include <stddef.h> |
#include <stdint.h> |
@@ -140,7 +141,7 @@ template <typename T> |
HRESULT GetInterfaceFromGit(const ScopedComPtr<IGlobalInterfaceTable>& git, |
DWORD cookie, |
ScopedComPtr<T>* p) { |
- return git->GetInterfaceFromGlobal(cookie, __uuidof(T), p->ReceiveVoid()); |
+ return git->GetInterfaceFromGlobal(cookie, IID_PPV_ARGS(p)); |
} |
// Registers an interface pointer in GIT and returns its corresponding |cookie|. |