Index: base/win/win_util.cc |
diff --git a/base/win/win_util.cc b/base/win/win_util.cc |
index bfa5107b730e3b0386591ed053f6c7ad83f70646..d811a9e088565d20c2afefea82b359dd18bc3533 100644 |
--- a/base/win/win_util.cc |
+++ b/base/win/win_util.cc |
@@ -139,10 +139,7 @@ bool IsWindows10TabletMode(HWND hwnd) { |
// TODO(ananta) |
// Avoid using GetForegroundWindow here and pass in the HWND of the window |
// intiating the request to display the keyboard. |
- hr = view_settings_interop->GetForWindow( |
- hwnd, |
- __uuidof(ABI::Windows::UI::ViewManagement::IUIViewSettings), |
- view_settings.ReceiveVoid()); |
+ hr = view_settings_interop->GetForWindow(hwnd, IID_PPV_ARGS(&view_settings)); |
if (FAILED(hr)) |
return false; |