Enable cpplint for webrtc/examples and fix all uncovered cpplint errors.
BUG=webrtc:5273 TESTED=Fixed issues reported by: find webrtc/examples/ -type f -name *.cc -o -name *.h | grep -v objc | xargs cpplint.py followed by 'git cl presubmit'. NOTRY=True Review URL: https://codereview.webrtc.org/1504283004 Cr-Commit-Position: refs/heads/master@{#10960}
This commit is contained in:
@ -116,7 +116,8 @@ gboolean Redraw(gpointer data) {
|
||||
wnd->OnRedraw();
|
||||
return false;
|
||||
}
|
||||
} // end anonymous
|
||||
|
||||
} // namespace
|
||||
|
||||
//
|
||||
// GtkMainWnd implementation.
|
||||
@ -174,7 +175,8 @@ void GtkMainWnd::StopLocalRenderer() {
|
||||
local_renderer_.reset();
|
||||
}
|
||||
|
||||
void GtkMainWnd::StartRemoteRenderer(webrtc::VideoTrackInterface* remote_video) {
|
||||
void GtkMainWnd::StartRemoteRenderer(
|
||||
webrtc::VideoTrackInterface* remote_video) {
|
||||
remote_renderer_.reset(new VideoRenderer(this, remote_video));
|
||||
}
|
||||
|
||||
@ -488,7 +490,7 @@ void GtkMainWnd::VideoRenderer::RenderFrame(
|
||||
static_cast<int>(frame->GetHeight()));
|
||||
|
||||
int size = width_ * height_ * 4;
|
||||
// TODO: Convert directly to RGBA
|
||||
// TODO(henrike): Convert directly to RGBA
|
||||
frame->ConvertToRgbBuffer(cricket::FOURCC_ARGB,
|
||||
image_.get(),
|
||||
size,
|
||||
|
||||
Reference in New Issue
Block a user