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

Unified Diff: content/renderer/media/video_capture_impl.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
Index: content/renderer/media/video_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index bef9f3bed21c3449866510cb4b8dc5e7a9ba31e5..2f5a6ac64d6a1b24f34111c1b5b3351115289ce9 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -19,8 +19,8 @@
#include "base/stl_util.h"
#include "base/thread_task_runner_handle.h"
#include "content/child/child_process.h"
-#include "content/common/gpu/client/gpu_memory_buffer_impl.h"
#include "content/common/media/video_capture_messages.h"
+#include "gpu/ipc/client/gpu_memory_buffer_impl.h"
#include "media/base/bind_to_current_loop.h"
#include "media/base/limits.h"
#include "media/base/video_frame.h"
@@ -63,7 +63,7 @@ class VideoCaptureImpl::ClientBuffer2
for (size_t i = 0; i < handles_.size(); ++i) {
const size_t width = media::VideoFrame::Columns(i, format, size_.width());
const size_t height = media::VideoFrame::Rows(i, format, size_.height());
- buffers_.push_back(GpuMemoryBufferImpl::CreateFromHandle(
+ buffers_.push_back(gpu::GpuMemoryBufferImpl::CreateFromHandle(
handles_[i], gfx::Size(width, height), gfx::BufferFormat::R_8,
gfx::BufferUsage::GPU_READ_CPU_READ_WRITE,
base::Bind(&ClientBuffer2::DestroyGpuMemoryBuffer,

Powered by Google App Engine
This is Rietveld 408576698