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

Unified Diff: content/child/child_io_surface_manager_mac.h

Issue 1486873002: Mac: Require child AllocateGpuMemoryBuffer to not fail (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GPU proc as well Created 5 years, 1 month 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/child/child_io_surface_manager_mac.h
diff --git a/content/child/child_io_surface_manager_mac.h b/content/child/child_io_surface_manager_mac.h
index 6c849fb2541602d882f64b982c226f048e7d9e91..6110369040eebff43bccf4e848c09ab117f671d7 100644
--- a/content/child/child_io_surface_manager_mac.h
+++ b/content/child/child_io_surface_manager_mac.h
@@ -27,6 +27,8 @@ class CONTENT_EXPORT ChildIOSurfaceManager : public gfx::IOSurfaceManager {
IOSurfaceRef io_surface) override;
void UnregisterIOSurface(gfx::IOSurfaceId io_surface_id,
int client_id) override;
+
+ // This will always return a valid IOSurface (failure will crash).
reveman 2015/12/01 20:49:04 We need to be able to use this in the GPU process
IOSurfaceRef AcquireIOSurface(gfx::IOSurfaceId io_surface_id) override;
// Set the service Mach port. Ownership of |service_port| is passed to the

Powered by Google App Engine
This is Rietveld 408576698