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

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

Issue 170843004: Pass Client pointer in Initialize() for VDA/VEA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 48f212da fischman@ comments. 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/renderer/pepper/ppb_video_decoder_impl.cc
diff --git a/content/renderer/pepper/ppb_video_decoder_impl.cc b/content/renderer/pepper/ppb_video_decoder_impl.cc
index 336892c2e646c908276304e76218817ce7db2e4a..a04c1d245c8eb149fb02b20f1ad607926059c2e1 100644
--- a/content/renderer/pepper/ppb_video_decoder_impl.cc
+++ b/content/renderer/pepper/ppb_video_decoder_impl.cc
@@ -140,13 +140,13 @@ bool PPB_VideoDecoder_Impl::Init(
if (command_buffer_route_id == 0)
return false;
- platform_video_decoder_.reset(new PlatformVideoDecoder(
- this, command_buffer_route_id));
+ platform_video_decoder_.reset(
+ new PlatformVideoDecoder(command_buffer_route_id));
if (!platform_video_decoder_)
return false;
FlushCommandBuffer();
- return platform_video_decoder_->Initialize(PPToMediaProfile(profile));
+ return platform_video_decoder_->Initialize(this, PPToMediaProfile(profile));
}
int32_t PPB_VideoDecoder_Impl::Decode(

Powered by Google App Engine
This is Rietveld 408576698