Index: content/browser/aura/image_transport_factory.h |
diff --git a/content/browser/aura/image_transport_factory.h b/content/browser/aura/image_transport_factory.h |
index c01ee8746d7d34b81165a65d03cf38bf25cd8102..b2c807fdb9cbe8c0ed1eb0a4292bf022fcfca164 100644 |
--- a/content/browser/aura/image_transport_factory.h |
+++ b/content/browser/aura/image_transport_factory.h |
@@ -67,13 +67,7 @@ class CONTENT_EXPORT ImageTransportFactory { |
// Gets the image transport factory as a context factory for the compositor. |
virtual ui::ContextFactory* AsContextFactory() = 0; |
- // Creates a shared surface handle. |
- // Note: the handle may get lost at any time, a state that an |
- // ImageTransportFactoryObserver gets notified of. |
- virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() = 0; |
- |
- // Destroys a shared surface handle. |
- virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0; |
+ virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0; |
// Creates a transport texture for a given scale factor. |
virtual scoped_refptr<ui::Texture> CreateTransportClient( |