Commit 5633ce55 authored by Stephan Hartmann's avatar Stephan Hartmann Committed by Commit Bot

GCC: use scoped_refptr to return abstract VideoTrackInterface

Fix compilation issue in GCC with CrossThreadCopierPassThrough and VideoTrackInterface.

Bug: 819294
Change-Id: Id453c3a7bc63fc75a0f882af450730ada5b717de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002512Reviewed-by: default avatarChris Mumford <cmumford@google.com>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732437}
parent deb9448f
......@@ -165,8 +165,9 @@ struct CrossThreadCopier<blink::MediaStreamVideoTrack>
};
template <>
struct CrossThreadCopier<webrtc::VideoTrackInterface>
: public CrossThreadCopierPassThrough<webrtc::VideoTrackInterface> {
struct CrossThreadCopier<rtc::scoped_refptr<webrtc::VideoTrackInterface>>
: public CrossThreadCopierPassThrough<
rtc::scoped_refptr<webrtc::VideoTrackInterface>> {
STATIC_ONLY(CrossThreadCopier);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment