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

Unified Diff: base/bind_helpers.h

Issue 1816713002: base: Remove scoped_refptr unwrapping for Bind arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/bind_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_helpers.h
diff --git a/base/bind_helpers.h b/base/bind_helpers.h
index 81dba6d8433fe604ce153a82f56aba50a437d949..d19c749438c8fa3617dfe4e9f5e8216d2032df03 100644
--- a/base/bind_helpers.h
+++ b/base/bind_helpers.h
@@ -431,11 +431,6 @@ const T& Unwrap(ConstRefWrapper<T> const_ref) {
}
template <typename T>
-T* Unwrap(const scoped_refptr<T>& o) {
- return o.get();
-}
-
-template <typename T>
T* Unwrap(const RetainedRefWrapper<T>& o) {
return o.get();
}
« no previous file with comments | « no previous file | base/bind_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698