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

Unified Diff: content/common/gpu/gpu_video_decode_accelerator.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 | « content/common/gpu/gpu_video_decode_accelerator.h ('k') | content/common/gpu/gpu_video_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_video_decode_accelerator.cc
===================================================================
--- content/common/gpu/gpu_video_decode_accelerator.cc (revision 86686)
+++ content/common/gpu/gpu_video_decode_accelerator.cc (working copy)
@@ -108,7 +108,7 @@
void GpuVideoDecodeAccelerator::OnInitialize(
const std::vector<uint32>& configs) {
- if (!video_decode_accelerator_.get())
+ if (!video_decode_accelerator_)
return;
video_decode_accelerator_->Initialize(configs);
@@ -117,7 +117,7 @@
void GpuVideoDecodeAccelerator::OnDecode(int32 id,
base::SharedMemoryHandle handle,
int32 size) {
- if (!video_decode_accelerator_.get())
+ if (!video_decode_accelerator_)
return;
video_decode_accelerator_->Decode(media::BitstreamBuffer(id, handle, size));
}
@@ -140,14 +140,14 @@
}
void GpuVideoDecodeAccelerator::OnReusePictureBuffer(int32 picture_buffer_id) {
- if (!video_decode_accelerator_.get())
+ if (!video_decode_accelerator_)
return;
video_decode_accelerator_->ReusePictureBuffer(picture_buffer_id);
}
void GpuVideoDecodeAccelerator::OnFlush() {
- if (!video_decode_accelerator_.get())
+ if (!video_decode_accelerator_)
return;
if (!video_decode_accelerator_->Flush()) {
@@ -157,7 +157,7 @@
}
void GpuVideoDecodeAccelerator::OnAbort() {
- if (!video_decode_accelerator_.get())
+ if (!video_decode_accelerator_)
return;
video_decode_accelerator_->Abort();
« no previous file with comments | « content/common/gpu/gpu_video_decode_accelerator.h ('k') | content/common/gpu/gpu_video_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698