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

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

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/aura/image_transport_factory.h
diff --git a/content/browser/aura/image_transport_factory.h b/content/browser/aura/image_transport_factory.h
index fecb4426edf81e6b0e429773d64e251fd375cb5e..0b84a4c5e95de1879419b438cb73d4e3efd59bcf 100644
--- a/content/browser/aura/image_transport_factory.h
+++ b/content/browser/aura/image_transport_factory.h
@@ -70,10 +70,7 @@ class CONTENT_EXPORT ImageTransportFactory {
// Creates a shared surface handle.
danakj 2013/12/16 22:57:57 Update the comment please. (Why do we have useless
// 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(
« no previous file with comments | « content/browser/aura/gpu_process_transport_factory.cc ('k') | content/browser/aura/no_transport_image_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698