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

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

Issue 6979017: Revert 86681 - Updated OMX decoder for recent PPAPI changes, and added to the build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « media/video/video_decode_accelerator.h ('k') | 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
===================================================================
--- webkit/plugins/ppapi/ppb_video_decoder_impl.cc (revision 86686)
+++ webkit/plugins/ppapi/ppb_video_decoder_impl.cc (working copy)
@@ -398,7 +398,7 @@
// These functions are declared in picture.h but are defined here because of
// dependencies (we can't depend on ppapi types from media).
namespace media {
-BaseBuffer::BaseBuffer(const PP_BufferInfo_Dev& info)
+BufferInfo::BufferInfo(const PP_BufferInfo_Dev& info)
: id_(info.id),
size_(info.size.width, info.size.height) {
}
@@ -406,13 +406,13 @@
// TODO(vrk): This assigns the PP_Resource context to be
// the context_id. Not sure what it's actually supposed to be.
GLESBuffer::GLESBuffer(const PP_GLESBuffer_Dev& buffer)
- : BaseBuffer(buffer.info),
- texture_id_(buffer.texture_id),
- context_id_(buffer.context) {
+ : texture_id_(buffer.texture_id),
+ context_id_(buffer.context),
+ info_(buffer.info) {
}
SysmemBuffer::SysmemBuffer(const PP_SysmemBuffer_Dev& buffer)
- : BaseBuffer(buffer.info) {
+ : info_(buffer.info) {
scoped_refptr<webkit::ppapi::PPB_Buffer_Impl> pepper_buffer =
webkit::ppapi::Resource::GetAs<webkit::ppapi::PPB_Buffer_Impl>(
buffer.data);
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698