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

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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/common/gpu/client/gpu_video_decode_accelerator_host.cc
===================================================================
--- content/common/gpu/client/gpu_video_decode_accelerator_host.cc (revision 163290)
+++ content/common/gpu/client/gpu_video_decode_accelerator_host.cc (working copy)
@@ -18,6 +18,7 @@
#endif // OS_WIN
using media::VideoDecodeAccelerator;
+namespace content {
GpuVideoDecodeAcceleratorHost::GpuVideoDecodeAcceleratorHost(
GpuChannelHost* channel,
@@ -69,10 +70,10 @@
DCHECK(CalledOnValidThread());
base::SharedMemoryHandle buffer_handle = bitstream_buffer.handle();
#if defined(OS_WIN)
- if (!content::BrokerDuplicateHandle(bitstream_buffer.handle(),
- channel_->gpu_pid(),
- &buffer_handle, 0,
- DUPLICATE_SAME_ACCESS)) {
+ if (!BrokerDuplicateHandle(bitstream_buffer.handle(),
+ channel_->gpu_pid(),
+ &buffer_handle, 0,
+ DUPLICATE_SAME_ACCESS)) {
NOTREACHED() << "Failed to duplicate buffer handler";
return;
}
@@ -203,3 +204,5 @@
static_cast<media::VideoDecodeAccelerator::Error>(error));
client_ = NULL;
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698