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

Unified Diff: base/win/scoped_comptr.h

Issue 2895313002: Rename ScopedComPtr::swap() to ScopedComPtr::Swap() (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 | « no previous file | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_comptr.h
diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h
index 615de75135135feff7a76aeae49ff9fa0792e263..4dda820e015f9ebfb7454ed49f67687f3f533a52 100644
--- a/base/win/scoped_comptr.h
+++ b/base/win/scoped_comptr.h
@@ -181,7 +181,7 @@ class ScopedComPtr {
return details::ScopedComPtrRef<ScopedComPtr<Interface>>(this);
}
- void swap(ScopedComPtr<Interface>& r) {
+ void Swap(ScopedComPtr<Interface>& r) {
Interface* tmp = ptr_;
ptr_ = r.ptr_;
r.ptr_ = tmp;
« no previous file with comments | « no previous file | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698