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

Unified Diff: base/bind_helpers.h

Issue 2103883002: Remove an unused Unwrap overload and HasNonConstReferenceItem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 3683902a844f77ee7f96cf1bc8bfe71058211f79..d86393bec05676d942bd13f3df72a08ce828d53a 100644
--- a/base/bind_helpers.h
+++ b/base/bind_helpers.h
@@ -441,11 +441,6 @@ T* Unwrap(const RetainedRefWrapper<T>& o) {
}
template <typename T>
-const WeakPtr<T>& Unwrap(const WeakPtr<T>& o) {
- return o;
-}
-
-template <typename T>
T* Unwrap(const OwnedWrapper<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