Index: media/filters/pipeline_integration_test_base.cc |
diff --git a/media/filters/pipeline_integration_test_base.cc b/media/filters/pipeline_integration_test_base.cc |
index df56f96dd5770e3fd1a60fe70974a94b556cbdf1..c5b24443dd6a85c4c37e9d2a2c208082f35269bc 100644 |
--- a/media/filters/pipeline_integration_test_base.cc |
+++ b/media/filters/pipeline_integration_test_base.cc |
@@ -237,14 +237,11 @@ void PipelineIntegrationTestBase::SetDecryptor( |
decryptor_ready_cb.Run(decryptor); |
} |
-void PipelineIntegrationTestBase::OnVideoRendererPaint() { |
+void PipelineIntegrationTestBase::OnVideoRendererPaint( |
+ const scoped_refptr<VideoFrame>& frame) { |
if (!hashing_enabled_) |
return; |
- scoped_refptr<VideoFrame> frame; |
- renderer_->GetCurrentFrame(&frame); |
- if (frame) |
- frame->HashFrameForTesting(&md5_context_); |
- renderer_->PutCurrentFrame(frame); |
+ frame->HashFrameForTesting(&md5_context_); |
} |
std::string PipelineIntegrationTestBase::GetVideoHash() { |