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

Unified Diff: gpu/command_buffer/common/buffer.cc

Issue 2912723002: Revert "Bug fix: TranferBufferManager's SharedMemory memory usage reporting was wrong" (Closed)
Patch Set: (rebase) Created 3 years, 7 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 | « gpu/command_buffer/common/buffer.h ('k') | gpu/command_buffer/service/transfer_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/buffer.cc
diff --git a/gpu/command_buffer/common/buffer.cc b/gpu/command_buffer/common/buffer.cc
index c8d6bbc6045206095202bc2172ced5b38e2de9c9..c5f0d554559f6bafbf49b701ba3c0057ddfb53fe 100644
--- a/gpu/command_buffer/common/buffer.cc
+++ b/gpu/command_buffer/common/buffer.cc
@@ -14,10 +14,6 @@
namespace gpu {
-bool BufferBacking::is_shared() const {
- return false;
-}
-
base::SharedMemoryHandle BufferBacking::shared_memory_handle() const {
return base::SharedMemoryHandle();
}
@@ -29,10 +25,6 @@ SharedMemoryBufferBacking::SharedMemoryBufferBacking(
SharedMemoryBufferBacking::~SharedMemoryBufferBacking() {}
-bool SharedMemoryBufferBacking::is_shared() const {
- return true;
-}
-
base::SharedMemoryHandle SharedMemoryBufferBacking::shared_memory_handle()
const {
return shared_memory_->handle();
« no previous file with comments | « gpu/command_buffer/common/buffer.h ('k') | gpu/command_buffer/service/transfer_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698