Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCRtpReceiver.cpp

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/peerconnection/RTCRtpReceiver.h" 5 #include "modules/peerconnection/RTCRtpReceiver.h"
6 6
7 #include "bindings/core/v8/Microtask.h" 7 #include "platform/bindings/Microtask.h"
8 #include "platform/wtf/text/WTFString.h" 8 #include "platform/wtf/text/WTFString.h"
9 #include "public/platform/WebRTCRtpContributingSource.h" 9 #include "public/platform/WebRTCRtpContributingSource.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 RTCRtpReceiver::RTCRtpReceiver(std::unique_ptr<WebRTCRtpReceiver> receiver, 13 RTCRtpReceiver::RTCRtpReceiver(std::unique_ptr<WebRTCRtpReceiver> receiver,
14 MediaStreamTrack* track) 14 MediaStreamTrack* track)
15 : receiver_(std::move(receiver)), track_(track) { 15 : receiver_(std::move(receiver)), track_(track) {
16 DCHECK(receiver_); 16 DCHECK(receiver_);
17 DCHECK(track_); 17 DCHECK(track_);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 contributing_sources_needs_updating_ = true; 70 contributing_sources_needs_updating_ = true;
71 } 71 }
72 72
73 DEFINE_TRACE(RTCRtpReceiver) { 73 DEFINE_TRACE(RTCRtpReceiver) {
74 visitor->Trace(track_); 74 visitor->Trace(track_);
75 visitor->Trace(contributing_sources_by_source_id_); 75 visitor->Trace(contributing_sources_by_source_id_);
76 visitor->Trace(contributing_sources_); 76 visitor->Trace(contributing_sources_);
77 } 77 }
78 78
79 } // namespace blink 79 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698