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

Unified Diff: ui/gfx/gpu_memory_buffer_tracing.cc

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 3 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 | « ui/gfx/gpu_memory_buffer_tracing.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer_tracing.cc
diff --git a/ui/gfx/gpu_memory_buffer.cc b/ui/gfx/gpu_memory_buffer_tracing.cc
similarity index 56%
copy from ui/gfx/gpu_memory_buffer.cc
copy to ui/gfx/gpu_memory_buffer_tracing.cc
index 1f9c1b092cc6d80151b4da54214684d08c819d73..86642b60946a885ebb3b27465eee99796a489a11 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer_tracing.cc
@@ -1,8 +1,8 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gfx/gpu_memory_buffer.h"
+#include "ui/gfx/gpu_memory_buffer_tracing.h"
namespace gfx {
@@ -16,16 +16,4 @@ base::trace_event::MemoryAllocatorDumpGuid GetGpuMemoryBufferGUIDForTracing(
buffer_id);
}
-GpuMemoryBufferHandle::GpuMemoryBufferHandle()
- : type(EMPTY_BUFFER), id(0), handle(base::SharedMemory::NULLHandle()) {
-}
-
-GpuMemoryBufferHandle::GpuMemoryBufferHandle(
- const GpuMemoryBufferHandle& other) = default;
-
-GpuMemoryBufferHandle::~GpuMemoryBufferHandle() {}
-
-void GpuMemoryBuffer::SetColorSpaceForScanout(
- const gfx::ColorSpace& color_space) {}
-
} // namespace gfx
« no previous file with comments | « ui/gfx/gpu_memory_buffer_tracing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698