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

Unified Diff: base/win/scoped_comptr_unittest.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.h ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_comptr_unittest.cc
diff --git a/base/win/scoped_comptr_unittest.cc b/base/win/scoped_comptr_unittest.cc
index edfa8cfc6fafb63299afab33e5f4c1c1982a62cf..523e9082c80f3f3d53bb3d4adc5d5500093277a4 100644
--- a/base/win/scoped_comptr_unittest.cc
+++ b/base/win/scoped_comptr_unittest.cc
@@ -26,12 +26,6 @@ struct Dummy {
int releases;
};
-extern const IID dummy_iid;
-const IID dummy_iid = {0x12345678u,
- 0x1234u,
- 0x5678u,
- {01, 23, 45, 67, 89, 01, 23, 45}};
-
} // namespace
TEST(ScopedComPtrTest, ScopedComPtr) {
@@ -56,7 +50,7 @@ TEST(ScopedComPtrTest, ScopedComPtr) {
TEST(ScopedComPtrTest, ScopedComPtrVector) {
// Verify we don't get error C2558.
- typedef ScopedComPtr<Dummy, &dummy_iid> Ptr;
+ typedef ScopedComPtr<Dummy> Ptr;
std::vector<Ptr> bleh;
std::unique_ptr<Dummy> p(new Dummy);
« no previous file with comments | « base/win/scoped_comptr.h ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698