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

Unified Diff: media/gpu/shared_memory_region.cc

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix prefix to content references in content_gpu.gypi Created 4 years, 8 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: media/gpu/shared_memory_region.cc
diff --git a/content/common/gpu/media/shared_memory_region.cc b/media/gpu/shared_memory_region.cc
similarity index 92%
rename from content/common/gpu/media/shared_memory_region.cc
rename to media/gpu/shared_memory_region.cc
index 4ee6a24257827978d9746eae9a938e0474248d5c..13df2041ac6fb00f28b58b0b24d3daa0924258e2 100644
--- a/content/common/gpu/media/shared_memory_region.cc
+++ b/media/gpu/shared_memory_region.cc
@@ -3,9 +3,9 @@
// found in the LICENSE file.
#include "base/sys_info.h"
-#include "content/common/gpu/media/shared_memory_region.h"
+#include "media/gpu/shared_memory_region.h"
-namespace content {
+namespace media {
SharedMemoryRegion::SharedMemoryRegion(const base::SharedMemoryHandle& handle,
off_t offset,
@@ -39,4 +39,4 @@ void* SharedMemoryRegion::memory() {
return addr ? addr + alignment_size_ : nullptr;
}
-} // namespace content
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698