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

Unified Diff: remoting/protocol/webrtc_video_renderer_adapter.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/webrtc_video_renderer_adapter.h ('k') | remoting/resources/remoting_strings_bn.xtb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_renderer_adapter.cc
diff --git a/remoting/protocol/webrtc_video_renderer_adapter.cc b/remoting/protocol/webrtc_video_renderer_adapter.cc
index c0cddbcf78c094232e1cec1f28e86a899b39fd40..44deb3428b32a3dd3504664b809c70df704bc16b 100644
--- a/remoting/protocol/webrtc_video_renderer_adapter.cc
+++ b/remoting/protocol/webrtc_video_renderer_adapter.cc
@@ -22,7 +22,6 @@
#include "remoting/protocol/video_renderer.h"
#include "remoting/protocol/webrtc_transport.h"
#include "third_party/libyuv/include/libyuv/convert_from.h"
-#include "third_party/webrtc/media/base/videoframe.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
namespace remoting {
@@ -96,7 +95,7 @@ void WebrtcVideoRendererAdapter::SetVideoStatsChannel(
video_stats_dispatcher_->Init(std::move(message_pipe), this);
}
-void WebrtcVideoRendererAdapter::OnFrame(const cricket::VideoFrame& frame) {
+void WebrtcVideoRendererAdapter::OnFrame(const webrtc::VideoFrame& frame) {
if (static_cast<uint64_t>(frame.timestamp_us()) >= rtc::TimeMicros()) {
// The host sets playout delay to 0, so all incoming frames are expected to
// be rendered as so as they are received.
« no previous file with comments | « remoting/protocol/webrtc_video_renderer_adapter.h ('k') | remoting/resources/remoting_strings_bn.xtb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698