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

Unified Diff: base/bind_helpers.h

Issue 1815363002: Add RetainedRef uses where needed. (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') | chrome/browser/printing/print_job_worker.cc » ('J')
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>
Nico 2016/03/18 21:01:01 I'd land this bit in a different CL, so that it ca
vmpstr 2016/03/18 22:20:23 Good idea. I've separated this.
T* Unwrap(const RetainedRefWrapper<T>& o) {
return o.get();
}
« no previous file with comments | « no previous file | base/bind_internal.h » ('j') | chrome/browser/printing/print_job_worker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698