Index: content/browser/renderer_host/image_transport_factory.h |
diff --git a/content/browser/renderer_host/image_transport_factory.h b/content/browser/renderer_host/image_transport_factory.h |
index 10a841e20e1b359ae61abcc2f3ce6f38b2a85b51..5e82ea4bada42ab80a26092ecf2eec9fc6170e86 100644 |
--- a/content/browser/renderer_host/image_transport_factory.h |
+++ b/content/browser/renderer_host/image_transport_factory.h |
@@ -27,8 +27,6 @@ namespace WebKit { |
class WebGraphicsContext3D; |
} |
-class ImageTransportClient; |
- |
// This class provides a way to get notified when surface handles get lost. |
class ImageTransportFactoryObserver { |
public: |
@@ -74,11 +72,12 @@ class ImageTransportFactory { |
// Destroys a shared surface handle. |
virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0; |
- // Creates a transport client of a given size, and using the opaque handle |
+ // Creates a transport texture of a given size, and using the opaque handle |
// sent by the GPU process. |
- virtual scoped_refptr<ImageTransportClient> CreateTransportClient( |
+ virtual scoped_refptr<ui::Texture> CreateTransportClient( |
const gfx::Size& size, |
- uint64* transport_handle) = 0; |
+ uint64* transport_handle, |
+ ui::Compositor* compositor) = 0; |
// Gets a GLHelper instance, associated with the compositor context. This |
// GLHelper will get destroyed whenever the context is lost ( |