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

Change-Id: I738b2eaab8eca73c40e847ede67ff5e7757ec512
Bug: None
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-Commit-Position: refs/heads/main@{#36939}
This commit is contained in:
Evan Shrubsole 2022-05-19 12:59:04 +02:00 committed by WebRTC LUCI CQ
parent fa6ec69232
commit 5b8dc1dbad

View File

@ -130,7 +130,7 @@ class RTC_LOCKABLE RTC_EXPORT TaskQueueBase {
bool IsCurrent() const { return Current() == this; }
protected:
class CurrentTaskQueueSetter {
class RTC_EXPORT CurrentTaskQueueSetter {
public:
explicit CurrentTaskQueueSetter(TaskQueueBase* task_queue);
CurrentTaskQueueSetter(const CurrentTaskQueueSetter&) = delete;