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

Unified Diff: chrome/browser/win/jumplist_updater.cc

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 Created 3 years, 7 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 c7295291d22a868cceb92d234874e4c5d1b0386f..e5ca674f29457ee732334330e57fc81089b6ee91 100644
--- a/chrome/browser/win/jumplist_updater.cc
+++ b/chrome/browser/win/jumplist_updater.cc
@@ -63,7 +63,7 @@ bool AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection,
// shortcut which doesn't have titles.
// So, we should use the IPropertyStore interface to set its title.
base::win::ScopedComPtr<IPropertyStore> property_store;
- result = link.CopyTo(property_store.Receive());
+ result = link.CopyTo(property_store.GetAddressOf());
if (FAILED(result))
return false;
@@ -194,7 +194,7 @@ bool JumpListUpdater::AddTasks(const ShellLinkItemList& link_items) {
// interface to retrieve each item in the list. So, we retrieve the
// IObjectArray interface from the EnumerableObjectCollection object.
base::win::ScopedComPtr<IObjectArray> object_array;
- result = collection.CopyTo(object_array.Receive());
+ result = collection.CopyTo(object_array.GetAddressOf());
if (FAILED(result))
return false;
@@ -244,7 +244,7 @@ bool JumpListUpdater::AddCustomCategory(const base::string16& category_name,
// It seems the ICustomDestinationList::AppendCategory() function just
// replaces all items in the given category with the ones in the new list.
base::win::ScopedComPtr<IObjectArray> object_array;
- result = collection.CopyTo(object_array.Receive());
+ result = collection.CopyTo(object_array.GetAddressOf());
if (FAILED(result))
return false;

Powered by Google App Engine
This is Rietveld 408576698