aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Yakimakha <yakimakha@chromium.org>2019-10-04 11:15:37 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-04 19:13:42 +0000
commit05eb540d5e18b4e80a1b4ebf801ec50ed9bdae88 (patch)
tree597b4db7c3d916a18c447295e199a3a58c262c69
parent9dd4cf87c1214381e72be6b9e1c4af33417e8f99 (diff)
downloadopenscreen-05eb540d5e18b4e80a1b4ebf801ec50ed9bdae88.tar.gz
Make IsRunningOnTaskRunner non-abstract to fix upstream break
Change-Id: Idb43d8c20bea490d8ef493279d371580fb1f7672 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1841523 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
-rw-r--r--platform/api/task_runner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/api/task_runner.h b/platform/api/task_runner.h
index b55a2066..fc8a7376 100644
--- a/platform/api/task_runner.h
+++ b/platform/api/task_runner.h
@@ -51,7 +51,7 @@ class TaskRunner {
// Return true if the calling thread is the thread that task runner is using
// to run tasks, false otherwise.
- virtual bool IsRunningOnTaskRunner() = 0;
+ virtual bool IsRunningOnTaskRunner() { return true; }
};
// Class used to post the same task repeatedly to the task runner, with the