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

Unified Diff: webkit/plugins/ppapi/ppb_video_decoder_impl.cc

Issue 7629004: Fix typo in PPB_VideoDecoder_Impl::Decode causing performance degradation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_video_decoder_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
index 38678ff779016364b3feca19171ec485319fa621..57c4dbcb114efc9a0d3db099cc436ecf88ea4531 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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698