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

Unified Diff: content/common/gpu/media/gpu_video_encode_accelerator.cc

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 9 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/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/gpu_video_encode_accelerator.cc
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.cc b/content/common/gpu/media/gpu_video_encode_accelerator.cc
index 1b259c4ed2b9b4ea5baf04ab58595b4b225f5776..fcfb52c4e62f00cf0c7dcec492b97cf2f6f1a4ea 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.cc
@@ -11,11 +11,11 @@
#include "base/numerics/safe_math.h"
#include "base/sys_info.h"
#include "build/build_config.h"
-#include "content/common/gpu/client/gpu_memory_buffer_impl.h"
#include "content/common/gpu/gpu_channel.h"
#include "content/common/gpu/gpu_channel_manager.h"
#include "content/common/gpu/media/gpu_video_accelerator_util.h"
#include "content/common/gpu/media/media_messages.h"
+#include "gpu/ipc/client/gpu_memory_buffer_impl.h"
#include "ipc/ipc_message_macros.h"
#include "media/base/bind_to_current_loop.h"
#include "media/base/limits.h"
@@ -349,7 +349,7 @@ void GpuVideoEncodeAccelerator::OnEncode2(
const size_t height =
media::VideoFrame::Rows(i, input_format_, params.size.height());
scoped_ptr<gfx::GpuMemoryBuffer> buffer =
- GpuMemoryBufferImpl::CreateFromHandle(
+ gpu::GpuMemoryBufferImpl::CreateFromHandle(
handles[i], gfx::Size(width, height), gfx::BufferFormat::R_8,
gfx::BufferUsage::GPU_READ_CPU_READ_WRITE,
media::BindToCurrentLoop(base::Bind(&DestroyGpuMemoryBuffer)));
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698