summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/exported/web_platform_media_stream_track.cc
blob: 8c8a25c80bb2404aa761c576dc9a6a0d439a18c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/platform/modules/mediastream/web_platform_media_stream_track.h"

namespace blink {

// static
WebPlatformMediaStreamTrack* WebPlatformMediaStreamTrack::GetTrack(
    const blink::WebMediaStreamTrack& track) {
  return track.IsNull() ? nullptr : track.GetPlatformTrack();
}

WebPlatformMediaStreamTrack::WebPlatformMediaStreamTrack(bool is_local_track)
    : is_local_track_(is_local_track) {}

WebPlatformMediaStreamTrack::~WebPlatformMediaStreamTrack() {}

}  // namespace blink