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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 2102293002: Remove GpuMemoryBuffer::IsInUseByMacOSWindowServer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused var Created 4 years, 6 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 | « media/renderers/mock_gpu_video_accelerator_factories.cc ('k') | ui/gfx/gpu_memory_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 423dcf617e78c6f142296a52e1c534ade9cad29e..a6163afd0737f8feddda14faf834d6d8621450cf 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -79,13 +79,6 @@ class GFX_EXPORT GpuMemoryBuffer {
// after this has been called.
virtual void Unmap() = 0;
- // Returns true if the buffer is currently being read from by the system's
- // window server, and should not be written to.
- // TODO(ccameron): This is specific to the Mac OS WindowServer process, and
- // should be merged with synchronization mechanisms from other platforms, if
- // possible.
- virtual bool IsInUseByMacOSWindowServer() const;
-
// Returns the size for the buffer.
virtual Size GetSize() const = 0;
« no previous file with comments | « media/renderers/mock_gpu_video_accelerator_factories.cc ('k') | ui/gfx/gpu_memory_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698