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 911647607bb26676523af64581e1c05c10c6f296..b065b57561f2d504bd5803d19ffd2a102f58fe1d 100644 |
--- a/media/filters/pipeline_integration_test_base.cc |
+++ b/media/filters/pipeline_integration_test_base.cc |
@@ -242,14 +242,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() { |