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

Unified Diff: content/common/gpu/media/video_encode_accelerator_unittest.cc

Issue 170843004: Pass Client pointer in Initialize() for VDA/VEA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 50e826de Rebase. Created 6 years, 10 months 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
Index: content/common/gpu/media/video_encode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_encode_accelerator_unittest.cc b/content/common/gpu/media/video_encode_accelerator_unittest.cc
index 701eae84b8edd4bf27ff964c26899b56ece4745b..2fa521786fef6e83c3c91e892e3b4b7146d0ebfb 100644
--- a/content/common/gpu/media/video_encode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_encode_accelerator_unittest.cc
@@ -391,7 +391,7 @@ void VEAClient::CreateEncoder() {
DCHECK(thread_checker_.CalledOnValidThread());
CHECK(!has_encoder());
- encoder_.reset(new ExynosVideoEncodeAccelerator(this));
+ encoder_.reset(new ExynosVideoEncodeAccelerator());
SetState(CS_ENCODER_SET);
DVLOG(1) << "Profile: " << test_stream_.requested_profile
@@ -399,7 +399,8 @@ void VEAClient::CreateEncoder() {
encoder_->Initialize(kInputFormat,
test_stream_.size,
test_stream_.requested_profile,
- test_stream_.requested_bitrate);
+ test_stream_.requested_bitrate,
+ this);
}
void VEAClient::DestroyEncoder() {
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | content/public/renderer/video_encode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698