From 5d5833370f7c921899f557fec8a0f2a659901a5a Mon Sep 17 00:00:00 2001 From: perkj Date: Thu, 14 Jul 2016 07:14:26 -0700 Subject: [PATCH] Fix VideoFrame inclusion in mediastreaminterface.h This cl clean up unused forward declaration of cricket::AudioFrame and cricket::Renderer. cricket::VideoFrame is used in the interface and thus the header file is included. BUG=webrtc:5687 Review-Url: https://codereview.webrtc.org/2145613006 Cr-Commit-Position: refs/heads/master@{#13477} --- webrtc/api/mediastreaminterface.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h index 7f56325024..f64d0006eb 100644 --- a/webrtc/api/mediastreaminterface.h +++ b/webrtc/api/mediastreaminterface.h @@ -25,17 +25,10 @@ #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/base/optional.h" #include "webrtc/media/base/mediachannel.h" +#include "webrtc/media/base/videoframe.h" #include "webrtc/media/base/videosinkinterface.h" #include "webrtc/media/base/videosourceinterface.h" -namespace cricket { - -class AudioRenderer; -class VideoRenderer; -class VideoFrame; - -} // namespace cricket - namespace webrtc { // Generic observer interface.