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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.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_shared_memory.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc
similarity index 98%
rename from content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
rename to gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc
index 83781ae85539be2771d936f23c80f0eee940baaf..ef817243863f00141c1f2658aa271a73fa9298f4 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc
@@ -2,7 +2,7 @@
// 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_shared_memory.h"
+#include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h"
#include <stdint.h>
#include <utility>
@@ -13,7 +13,7 @@
#include "ui/gfx/buffer_format_util.h"
#include "ui/gl/gl_bindings.h"
-namespace content {
+namespace gpu {
namespace {
void Noop() {}
@@ -35,8 +35,7 @@ GpuMemoryBufferImplSharedMemory::GpuMemoryBufferImplSharedMemory(
DCHECK(IsSizeValidForFormat(size, format));
}
-GpuMemoryBufferImplSharedMemory::~GpuMemoryBufferImplSharedMemory() {
-}
+GpuMemoryBufferImplSharedMemory::~GpuMemoryBufferImplSharedMemory() {}
// static
scoped_ptr<GpuMemoryBufferImplSharedMemory>
@@ -221,4 +220,4 @@ gfx::GpuMemoryBufferHandle GpuMemoryBufferImplSharedMemory::GetHandle() const {
return handle;
}
-} // namespace content
+} // namespace gpu
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h ('k') | gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698