commit | 2d1a937ed2eca92e57746332bd4915caf0e29408 | [log] [tgz] |
---|---|---|
author | Evan Shrubsole <eshr@webrtc.org> | Thu May 19 10:59:04 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 03 11:32:44 2022 |
tree | f43c50e8cb9ec4cde42de976777d64b4fa46c07b | |
parent | 83a06199e536ec5f09f49b7cbb22f6017eb51fb0 [diff] |
[Merge M103] Add RTC_EXPORT to CurrentTaskQueueSetter This allows for its use in test targets in Chromium Windows, which fixes the compiled errors found in https://chromium-review.googlesource.com/c/chromium/src/+/3649679 (cherry picked from commit 5b8dc1dbad3cbc333d131de4b1e3a9e1f22ca3a1) Change-Id: I738b2eaab8eca73c40e847ede67ff5e7757ec512 Bug: chromium:1331333 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262811 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Original-Commit-Position: refs/heads/main@{#36939} Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/264981 Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Cr-Commit-Position: refs/branch-heads/5060@{#2} Cr-Branched-From: 1389c76d9c79839a2ca069df1db48aa3f2e6a1ac-refs/heads/main@{#36868}
diff --git a/api/task_queue/task_queue_base.h b/api/task_queue/task_queue_base.h index b7c92f8..c3e79b7 100644 --- a/api/task_queue/task_queue_base.h +++ b/api/task_queue/task_queue_base.h
@@ -130,7 +130,7 @@ bool IsCurrent() const { return Current() == this; } protected: - class CurrentTaskQueueSetter { + class RTC_EXPORT CurrentTaskQueueSetter { public: explicit CurrentTaskQueueSetter(TaskQueueBase* task_queue); CurrentTaskQueueSetter(const CurrentTaskQueueSetter&) = delete;