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

Unified Diff: chrome/utility/importer/ie_importer_win.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
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/ie_importer_win.cc
diff --git a/chrome/utility/importer/ie_importer_win.cc b/chrome/utility/importer/ie_importer_win.cc
index 9c5fc303c5502dbd1a9b54e8f26ed425bef475de..ecf1b1ddf587e065ae5f86dff68339afcc9b00a5 100644
--- a/chrome/utility/importer/ie_importer_win.cc
+++ b/chrome/utility/importer/ie_importer_win.cc
@@ -323,7 +323,7 @@ GURL ReadFaviconURLFromInternetShortcut(IUniformResourceLocator* url_locator) {
base::win::ScopedComPtr<IPropertyStorage> property_storage;
if (FAILED(property_set_storage->Open(FMTID_Intshcut, STGM_READ,
- property_storage.Receive()))) {
+ property_storage.GetAddressOf()))) {
return GURL();
}
@@ -513,7 +513,7 @@ void IEImporter::ImportHistory() {
return;
}
base::win::ScopedComPtr<IEnumSTATURL> enum_url;
- if (SUCCEEDED(url_history_stg2->EnumUrls(enum_url.Receive()))) {
+ if (SUCCEEDED(url_history_stg2->EnumUrls(enum_url.GetAddressOf()))) {
std::vector<ImporterURLRow> rows;
STATURL stat_url;
@@ -589,7 +589,7 @@ void IEImporter::ImportPasswordsIE6() {
}
base::win::ScopedComPtr<IPStore, &IID_IPStore> pstore;
- HRESULT result = PStoreCreateInstance(pstore.Receive(), 0, 0, 0);
+ HRESULT result = PStoreCreateInstance(pstore.GetAddressOf(), 0, 0, 0);
if (result != S_OK) {
FreeLibrary(pstorec_dll);
return;
@@ -599,8 +599,8 @@ void IEImporter::ImportPasswordsIE6() {
// Enumerates AutoComplete items in the protected database.
base::win::ScopedComPtr<IEnumPStoreItems, &IID_IEnumPStoreItems> item;
- result = pstore->EnumItems(0, &AutocompleteGUID,
- &AutocompleteGUID, 0, item.Receive());
+ result = pstore->EnumItems(0, &AutocompleteGUID, &AutocompleteGUID, 0,
+ item.GetAddressOf());
if (result != PST_E_OK) {
pstore.Reset();
FreeLibrary(pstorec_dll);
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698