Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Unified Diff: base/win/win_util.cc

Issue 2850683002: Remove ScopedComPtr::ReceiveVoid and Add ScopedComPtrRef (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698