diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 05:08:59 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 05:08:59 +0000 |
commit | a0bd4d84ba5c7582d7ae3460498967a1c31f2e23 (patch) | |
tree | c0092a26ec79b11e47017f08234794e93a0bf1b3 | |
parent | 435f1ce2fd1d5a22d9497cabd4fc7af2b3d4bb50 (diff) | |
download | chromium_src-a0bd4d84ba5c7582d7ae3460498967a1c31f2e23.zip chromium_src-a0bd4d84ba5c7582d7ae3460498967a1c31f2e23.tar.gz chromium_src-a0bd4d84ba5c7582d7ae3460498967a1c31f2e23.tar.bz2 |
Fix typo in PPB_VideoDecoder_Impl::Decode causing performance degradation
BUG=None
TEST=Pepper Flash
Review URL: http://codereview.chromium.org/7629004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96511 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/plugins/ppapi/ppb_video_decoder_impl.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc index 38678ff..57c4dbc 100644 --- a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc +++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc @@ -100,9 +100,10 @@ int32_t PPB_VideoDecoder_Impl::Decode( return PP_ERROR_FAILED; PPB_Buffer_Impl* buffer = static_cast<PPB_Buffer_Impl*>(enter.object()); - media::BitstreamBuffer decode_buffer(bitstream_buffer->id, - buffer->shared_memory()->handle(), - static_cast<size_t>(buffer->size())); + media::BitstreamBuffer decode_buffer( + bitstream_buffer->id, + buffer->shared_memory()->handle(), + static_cast<size_t>(bitstream_buffer->size)); SetBitstreamBufferCallback(bitstream_buffer->id, callback); FlushCommandBuffer(); |