| Index: base/bind_helpers.h
|
| diff --git a/base/bind_helpers.h b/base/bind_helpers.h
|
| index dd16fec758a89832b580c232e29f39343b4d5067..fe4e908ef675474002e73650d8c37aaad744513c 100644
|
| --- a/base/bind_helpers.h
|
| +++ b/base/bind_helpers.h
|
| @@ -426,12 +426,12 @@ const T& Unwrap(const T& o) {
|
| }
|
|
|
| template <typename T>
|
| -T* Unwrap(UnretainedWrapper<T> unretained) {
|
| +T* Unwrap(const UnretainedWrapper<T>& unretained) {
|
| return unretained.get();
|
| }
|
|
|
| template <typename T>
|
| -const T& Unwrap(ConstRefWrapper<T> const_ref) {
|
| +const T& Unwrap(const ConstRefWrapper<T>& const_ref) {
|
| return const_ref.get();
|
| }
|
|
|
| @@ -451,7 +451,7 @@ T* Unwrap(const OwnedWrapper<T>& o) {
|
| }
|
|
|
| template <typename T>
|
| -T Unwrap(PassedWrapper<T>& o) {
|
| +T Unwrap(const PassedWrapper<T>& o) {
|
| return o.Take();
|
| }
|
|
|
|
|