Index: ui/base/win/shell.cc |
diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc |
index d6a98dfabe828b86886312a3071f2d4f85b28e2c..0cace9bb1ce42b1e7e665e4095a0e4e7a70452a6 100644 |
--- a/ui/base/win/shell.cc |
+++ b/ui/base/win/shell.cc |
@@ -104,8 +104,8 @@ bool PreventWindowFromPinning(HWND hwnd) { |
return false; |
base::win::ScopedComPtr<IPropertyStore> pps; |
- if (FAILED(SHGetPropertyStoreForWindow(hwnd, |
- IID_PPV_ARGS(pps.Receive())))) |
+ if (FAILED( |
+ SHGetPropertyStoreForWindow(hwnd, IID_PPV_ARGS(pps.GetAddressOf())))) |
return false; |
return base::win::SetBooleanValueForPropertyStore( |
@@ -127,8 +127,8 @@ void SetAppDetailsForWindow(const base::string16& app_id, |
return; |
base::win::ScopedComPtr<IPropertyStore> pps; |
- if (FAILED(SHGetPropertyStoreForWindow(hwnd, |
- IID_PPV_ARGS(pps.Receive())))) |
+ if (FAILED( |
+ SHGetPropertyStoreForWindow(hwnd, IID_PPV_ARGS(pps.GetAddressOf())))) |
return; |
if (!app_id.empty()) |
@@ -181,8 +181,8 @@ void ClearWindowPropertyStore(HWND hwnd) { |
return; |
base::win::ScopedComPtr<IPropertyStore> pps; |
- if (FAILED(SHGetPropertyStoreForWindow(hwnd, |
- IID_PPV_ARGS(pps.Receive())))) |
+ if (FAILED( |
+ SHGetPropertyStoreForWindow(hwnd, IID_PPV_ARGS(pps.GetAddressOf())))) |
return; |
DWORD property_count; |