| Index: base/win/win_util.cc
|
| diff --git a/base/win/win_util.cc b/base/win/win_util.cc
|
| index 130d6499e48d60c41b9578e8191ca84e1993c13d..bfa5107b730e3b0386591ed053f6c7ad83f70646 100644
|
| --- a/base/win/win_util.cc
|
| +++ b/base/win/win_util.cc
|
| @@ -11,6 +11,7 @@
|
| #include <initguid.h>
|
| #include <inspectable.h>
|
| #include <mdmregistration.h>
|
| +#include <objbase.h>
|
| #include <propkey.h>
|
| #include <propvarutil.h>
|
| #include <psapi.h>
|
| @@ -129,9 +130,7 @@ bool IsWindows10TabletMode(HWND hwnd) {
|
| }
|
|
|
| base::win::ScopedComPtr<IUIViewSettingsInterop> view_settings_interop;
|
| - hr = get_factory(view_settings_guid,
|
| - __uuidof(IUIViewSettingsInterop),
|
| - view_settings_interop.ReceiveVoid());
|
| + hr = get_factory(view_settings_guid, IID_PPV_ARGS(&view_settings_interop));
|
| if (FAILED(hr))
|
| return false;
|
|
|
|
|