| Index: third_party/WebKit/Source/platform/WebTaskRunner.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WebTaskRunner.cpp b/third_party/WebKit/Source/platform/WebTaskRunner.cpp
|
| index 6882136ec8955c642e9033165732fd205016f6ff..8bd0ea344cb59dc3792e2cb6ddd883014eb4ca2c 100644
|
| --- a/third_party/WebKit/Source/platform/WebTaskRunner.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebTaskRunner.cpp
|
| @@ -111,6 +111,10 @@ TaskHandle::TaskHandle(RefPtr<Runner> runner) : runner_(std::move(runner)) {
|
| DCHECK(runner_);
|
| }
|
|
|
| +bool WebTaskRunner::RunsTasksOnCurrentThread() {
|
| + return RunsTasksInCurrentSequence();
|
| +}
|
| +
|
| // Use a custom function for base::Bind instead of convertToBaseCallback to
|
| // avoid copying the closure later in the call chain. Copying the bound state
|
| // can lead to data races with ref counted objects like StringImpl. See
|
|
|