| Index: third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
|
| index 3601350c5352394b55aa8ea17f8d000c42baee6a..125a9595ac9f062dc130455b5d9f9035c1241e7f 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
|
| @@ -46,7 +46,7 @@ public:
|
| // destructed (possibly on the calling thread or on the thread of
|
| // |executionContext|) when |executionContext| is stopped or
|
| // CrossThreadHolder is destructed.
|
| - void postTask(PassOwnPtr<WTF::Function<void(T*, ExecutionContext*)>> task)
|
| + void postTask(PassOwnPtr<WTF::Function<void(T*, ExecutionContext*), WTF::CrossThreadAffinity>> task)
|
| {
|
| MutexLocker locker(m_mutex->mutex());
|
| if (!m_bridge) {
|
| @@ -119,7 +119,7 @@ private:
|
| m_holder = nullptr;
|
| }
|
|
|
| - void runTask(PassOwnPtr<WTF::Function<void(T*, ExecutionContext*)>> task)
|
| + void runTask(PassOwnPtr<WTF::Function<void(T*, ExecutionContext*), WTF::CrossThreadAffinity>> task)
|
| {
|
| ASSERT(executionContext()->isContextThread());
|
| if (m_obj)
|
|
|