| Index: chrome/browser/win/jumplist_updater.cc
|
| diff --git a/chrome/browser/win/jumplist_updater.cc b/chrome/browser/win/jumplist_updater.cc
|
| index 0040196d6e726ad473ef5faeedb62d2c43f4ea39..c087a4c9546f4609137bacfba0099895f1b66f43 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.QueryInterface(property_store.Receive());
|
| + result = link.CopyTo(property_store.Receive());
|
| if (FAILED(result))
|
| return false;
|
|
|
| @@ -196,7 +196,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.QueryInterface(object_array.Receive());
|
| + result = collection.CopyTo(object_array.Receive());
|
| if (FAILED(result))
|
| return false;
|
|
|
| @@ -246,7 +246,7 @@ bool JumpListUpdater::AddCustomCategory(const std::wstring& 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.QueryInterface(object_array.Receive());
|
| + result = collection.CopyTo(object_array.Receive());
|
| if (FAILED(result))
|
| return false;
|
|
|
|
|