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

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

Issue 2889263002: Remove Interface ID Template Parameter from ScopedComPtr (Closed)
Patch Set: 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 | « base/win/scoped_comptr_unittest.cc ('k') | media/audio/win/core_audio_util_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 d46dbf4abe89a9f56d18287868ecf913bb9ccfb2..e91834d0dfa4d9cd56b0a646f6319ec088587162 100644
--- a/chrome/utility/importer/ie_importer_win.cc
+++ b/chrome/utility/importer/ie_importer_win.cc
@@ -590,7 +590,7 @@ void IEImporter::ImportPasswordsIE6() {
return;
}
- base::win::ScopedComPtr<IPStore, &IID_IPStore> pstore;
+ base::win::ScopedComPtr<IPStore> pstore;
HRESULT result = PStoreCreateInstance(pstore.GetAddressOf(), 0, 0, 0);
if (result != S_OK) {
FreeLibrary(pstorec_dll);
@@ -600,7 +600,7 @@ void IEImporter::ImportPasswordsIE6() {
std::vector<AutoCompleteInfo> ac_list;
// Enumerates AutoComplete items in the protected database.
- base::win::ScopedComPtr<IEnumPStoreItems, &IID_IEnumPStoreItems> item;
+ base::win::ScopedComPtr<IEnumPStoreItems> item;
result = pstore->EnumItems(0, &AutocompleteGUID, &AutocompleteGUID, 0,
item.GetAddressOf());
if (result != PST_E_OK) {
« no previous file with comments | « base/win/scoped_comptr_unittest.cc ('k') | media/audio/win/core_audio_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698