| Index: base/observer_list_threadsafe.h
|
| diff --git a/base/observer_list_threadsafe.h b/base/observer_list_threadsafe.h
|
| index 6821795705a0e0003dd2cd908be623d3b68a3b0f..fe783542f47a3903c1c5131439bc4712bfc6ea25 100644
|
| --- a/base/observer_list_threadsafe.h
|
| +++ b/base/observer_list_threadsafe.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <algorithm>
|
| #include <map>
|
| +#include <tuple>
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| @@ -177,8 +178,8 @@ class ObserverListThreadSafe
|
| void Notify(const tracked_objects::Location& from_here,
|
| Method m,
|
| const Params&... params) {
|
| - internal::UnboundMethod<ObserverType, Method, Tuple<Params...>> method(
|
| - m, MakeTuple(params...));
|
| + internal::UnboundMethod<ObserverType, Method, std::tuple<Params...>> method(
|
| + m, std::make_tuple(params...));
|
|
|
| AutoLock lock(list_lock_);
|
| for (const auto& entry : observer_lists_) {
|
| @@ -186,8 +187,8 @@ class ObserverListThreadSafe
|
| context->task_runner->PostTask(
|
| from_here,
|
| Bind(&ObserverListThreadSafe<ObserverType>::template NotifyWrapper<
|
| - Method, Tuple<Params...>>,
|
| - this, context, method));
|
| + Method, std::tuple<Params...>>,
|
| + this, context, method));
|
| }
|
| }
|
|
|
|
|