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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_io_surface.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: gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
similarity index 94%
rename from content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
rename to gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
index ce0de55001b50ea08e8add8443fe5dbb24b34b33..7c2bb9f3654a0be74b140d6069bf4957dd1316c1 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h"
+#include "gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h"
#include "base/logging.h"
#include "gpu/ipc/common/gpu_memory_buffer_support.h"
#include "ui/gfx/buffer_format_util.h"
#include "ui/gfx/mac/io_surface.h"
-namespace content {
+namespace gpu {
namespace {
uint32_t LockFlags(gfx::BufferUsage usage) {
@@ -25,8 +25,7 @@ uint32_t LockFlags(gfx::BufferUsage usage) {
return 0;
}
-void NoOp() {
-}
+void NoOp() {}
} // namespace
@@ -41,8 +40,7 @@ GpuMemoryBufferImplIOSurface::GpuMemoryBufferImplIOSurface(
io_surface_(io_surface),
lock_flags_(lock_flags) {}
-GpuMemoryBufferImplIOSurface::~GpuMemoryBufferImplIOSurface() {
-}
+GpuMemoryBufferImplIOSurface::~GpuMemoryBufferImplIOSurface() {}
// static
scoped_ptr<GpuMemoryBufferImplIOSurface>
@@ -121,4 +119,4 @@ gfx::GpuMemoryBufferHandle GpuMemoryBufferImplIOSurface::GetHandle() const {
return handle;
}
-} // namespace content
+} // namespace gpu
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h ('k') | gpu/ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698