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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_mac.cc

Issue 654223006: Cleanup GpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc b/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
index e0fe58da0e9ff250f638ef491408b9da9b1598df..4df34ed0071da810bfac7df0ae99090353b0d094 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
@@ -78,4 +78,10 @@ scoped_ptr<GpuMemoryBufferImpl> GpuMemoryBufferImpl::CreateFromHandle(
}
}
+// static
+bool GpuMemoryBufferImpl::NeedsDestructionSyncPoint(
+ gfx::GpuMemoryBufferType type) {
+ return false;
piman 2014/10/31 01:24:18 true for IO_SURFACE_BUFFER? Do we really need a p
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698