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

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

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 | « no previous file | gpu/command_buffer/common/buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/buffer.h
diff --git a/gpu/command_buffer/common/buffer.h b/gpu/command_buffer/common/buffer.h
index 6a0a0d28ef2d73d14984115970a46f2882ec0c65..475056e5d965cb07369903e7daab5fb24dce66e2 100644
--- a/gpu/command_buffer/common/buffer.h
+++ b/gpu/command_buffer/common/buffer.h
@@ -28,7 +28,6 @@ namespace gpu {
class GPU_EXPORT BufferBacking {
public:
virtual ~BufferBacking() {}
- virtual bool is_shared() const;
virtual base::SharedMemoryHandle shared_memory_handle() const;
virtual void* GetMemory() const = 0;
virtual size_t GetSize() const = 0;
@@ -39,7 +38,6 @@ class GPU_EXPORT SharedMemoryBufferBacking : public BufferBacking {
SharedMemoryBufferBacking(std::unique_ptr<base::SharedMemory> shared_memory,
size_t size);
~SharedMemoryBufferBacking() override;
- bool is_shared() const override;
base::SharedMemoryHandle shared_memory_handle() const override;
void* GetMemory() const override;
size_t GetSize() const override;
« no previous file with comments | « no previous file | gpu/command_buffer/common/buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698