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

Unified Diff: chrome/utility/importer/ie_importer_win.cc

Issue 2792383003: Rename ScopedComPtr::Release() to ScopedComPtr::Reset() (Closed)
Patch Set: Fix New Callers 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/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 567762bc4211d18544719236dbd78a8b01304e1e..047fb1eb31ccc9778a3980451315939b1f7eb26d 100644
--- a/chrome/utility/importer/ie_importer_win.cc
+++ b/chrome/utility/importer/ie_importer_win.cc
@@ -602,7 +602,7 @@ void IEImporter::ImportPasswordsIE6() {
result = pstore->EnumItems(0, &AutocompleteGUID,
&AutocompleteGUID, 0, item.Receive());
if (result != PST_E_OK) {
- pstore.Release();
+ pstore.Reset();
FreeLibrary(pstorec_dll);
return;
}
@@ -636,8 +636,8 @@ void IEImporter::ImportPasswordsIE6() {
CoTaskMemFree(item_name);
}
// Releases them before unload the dll.
- item.Release();
- pstore.Release();
+ item.Reset();
+ pstore.Reset();
FreeLibrary(pstorec_dll);
size_t i;
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | content/browser/accessibility/accessibility_win_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698