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

Unified Diff: content/renderer/pepper/pepper_video_decoder_host.cc

Issue 2902893002: Prefixing the explicit keyword to the media::VideoDecodeAccelerator::Config (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | media/video/video_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_video_decoder_host.cc
diff --git a/content/renderer/pepper/pepper_video_decoder_host.cc b/content/renderer/pepper/pepper_video_decoder_host.cc
index 3aea65f00caebf154c86a8251d8038752ba5ac67..7d12a0da42cdc45200a6e668c7a6e2a4c86e9b32 100644
--- a/content/renderer/pepper/pepper_video_decoder_host.cc
+++ b/content/renderer/pepper/pepper_video_decoder_host.cc
@@ -502,7 +502,8 @@ bool PepperVideoDecoderHost::TryFallbackToSoftwareDecoder() {
min_picture_count_);
std::unique_ptr<VideoDecoderShim> new_decoder(
new VideoDecoderShim(this, shim_texture_pool_size));
- if (!new_decoder->Initialize(profile_, this))
+ if (!new_decoder->Initialize(media::VideoDecodeAccelerator::Config(profile_),
+ this))
return false;
software_fallback_used_ = true;
« no previous file with comments | « no previous file | media/video/video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698