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

Unified Diff: base/win/win_util.cc

Issue 2830893004: Migrate IID Coupled Uses of ScopedComPtr::ReceiveVoid() to IID_PPV_ARGS (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
« no previous file with comments | « no previous file | chrome/browser/metrics/antivirus_metrics_provider_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/metrics/antivirus_metrics_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698