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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

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/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 4bc0b413153b8fd35230c09e390528a3045dc9fa..1fd49184f74bb3c9e7bc725ccb62d9682439515d 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -32,6 +32,8 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) override;
+ virtual void WaitForPendingGpuMemoryBufferUsageToComplete(
+ const base::Closure& callback) override;
// Specify a task runner and callback to be used for a set of messages. The
// callback will be set up on the current GpuProcessHost, identified by

Powered by Google App Engine
This is Rietveld 408576698