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

Unified Diff: base/scoped_comptr_win.h

Issue 40256: Pulling in operator=() to ScopedComPtr. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « no previous file | base/scoped_comptr_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/scoped_comptr_win.h
===================================================================
--- base/scoped_comptr_win.h (revision 11150)
+++ base/scoped_comptr_win.h (working copy)
@@ -138,6 +138,9 @@
return reinterpret_cast<BlockIUnknownMethods<Interface>*>(ptr_);
}
+ // Pull in operator=() from the parent class.
+ using scoped_refptr<Interface>::operator=;
+
// static methods
static const IID& iid() {
« no previous file with comments | « no previous file | base/scoped_comptr_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698