Index: webrtc/test/linux/glx_renderer.cc |
diff --git a/webrtc/test/linux/glx_renderer.cc b/webrtc/test/linux/glx_renderer.cc |
index c5071dea914a514eac9aa6cd6e3468e48812b61e..d6979c8a58f2b9c7308b92c0e50cec0f8502e87e 100644 |
--- a/webrtc/test/linux/glx_renderer.cc |
+++ b/webrtc/test/linux/glx_renderer.cc |
@@ -144,8 +144,7 @@ void GlxRenderer::Resize(size_t width, size_t height) { |
XConfigureWindow(display_, window_, CWWidth | CWHeight, &wc); |
} |
-void GlxRenderer::RenderFrame(const webrtc::VideoFrame& frame, |
- int /*render_delay_ms*/) { |
+void GlxRenderer::OnFrame(const webrtc::VideoFrame& frame) { |
if (static_cast<size_t>(frame.width()) != width_ || |
static_cast<size_t>(frame.height()) != height_) { |
Resize(static_cast<size_t>(frame.width()), |
@@ -168,7 +167,7 @@ void GlxRenderer::RenderFrame(const webrtc::VideoFrame& frame, |
} |
} |
- GlRenderer::RenderFrame(frame, 0); |
+ GlRenderer::OnFrame(frame); |
glXSwapBuffers(display_, window_); |
if (!glXMakeCurrent(display_, None, NULL)) { |