| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "modules/fetch/FetchDataConsumerHandle.h" | 5 #include "modules/fetch/FetchDataConsumerHandle.h" |
| 6 | 6 |
| 7 #include "public/platform/WebTaskRunner.h" |
| 8 |
| 7 namespace blink { | 9 namespace blink { |
| 8 | 10 |
| 9 std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainRe
ader(Client* client) | 11 std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainRe
ader(Client* client, std::unique_ptr<WebTaskRunner> readerTaskRunner) |
| 10 { | 12 { |
| 11 return obtainFetchDataReader(client); | 13 return obtainFetchDataReader(client, std::move(readerTaskRunner)); |
| 12 } | 14 } |
| 13 | 15 |
| 14 } // namespace blink | 16 } // namespace blink |
| OLD | NEW |