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

Unified Diff: content/browser/compositor/image_transport_factory.h

Issue 227683006: Remove ImageTransportFactory::CreateTransportClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/compositor/image_transport_factory.h
diff --git a/content/browser/compositor/image_transport_factory.h b/content/browser/compositor/image_transport_factory.h
index 59011255add6673170519b202fc47e816bf5d698..f14fb206ac8ced1445654dc42632da7ff2264c51 100644
--- a/content/browser/compositor/image_transport_factory.h
+++ b/content/browser/compositor/image_transport_factory.h
@@ -69,12 +69,7 @@ class CONTENT_EXPORT ImageTransportFactory {
virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0;
- // Creates a transport texture for a given scale factor.
- virtual scoped_refptr<ui::Texture> CreateTransportClient(
- float device_scale_factor) = 0;
-
- // Variant of CreateTransportClient() that deletes the texture on the GPU when
- // the returned value is deleted.
+ // Creates a ui::Texture that deletes the GL texture when deleted.
virtual scoped_refptr<ui::Texture> CreateOwnedTexture(
const gfx::Size& size,
float device_scale_factor,

Powered by Google App Engine
This is Rietveld 408576698