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

Unified Diff: chrome/browser/win/jumplist_updater.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
Index: chrome/browser/win/jumplist_updater.cc
diff --git a/chrome/browser/win/jumplist_updater.cc b/chrome/browser/win/jumplist_updater.cc
index 4265de1163585780f4e92e68c2a78a10b629006d..14a1ee04b97f0e6cffcc98a09067ed2ba0ecc84f 100644
--- a/chrome/browser/win/jumplist_updater.cc
+++ b/chrome/browser/win/jumplist_updater.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/win/jumplist_updater.h"
#include <windows.h>
+#include <objbase.h>
#include <propkey.h>
#include <shobjidl.h>
@@ -146,8 +147,7 @@ bool JumpListUpdater::BeginUpdate() {
// removed list and prevent us from adding the same item.
UINT max_slots;
base::win::ScopedComPtr<IObjectArray> removed;
- result = destination_list_->BeginList(&max_slots, __uuidof(*removed),
- removed.ReceiveVoid());
+ result = destination_list_->BeginList(&max_slots, IID_PPV_ARGS(&removed));
if (FAILED(result))
return false;

Powered by Google App Engine
This is Rietveld 408576698