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

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

Issue 276973002: Adds getter for ContextFactory to content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include Created 6 years, 7 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/no_transport_image_transport_factory.h
diff --git a/content/browser/compositor/no_transport_image_transport_factory.h b/content/browser/compositor/no_transport_image_transport_factory.h
index 51ae292204c7d5c87c8d17d57f29c30d96724fa3..1111cd1f5372e0af7cf73aad7acb40d402c7d29d 100644
--- a/content/browser/compositor/no_transport_image_transport_factory.h
+++ b/content/browser/compositor/no_transport_image_transport_factory.h
@@ -22,13 +22,12 @@ class NoTransportImageTransportFactory : public ImageTransportFactory {
virtual ~NoTransportImageTransportFactory();
// ImageTransportFactory implementation.
+ virtual ui::ContextFactory* GetContextFactory() OVERRIDE;
virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() OVERRIDE;
virtual GLHelper* GetGLHelper() OVERRIDE;
virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE;
virtual void RemoveObserver(ImageTransportFactoryObserver* observer) OVERRIDE;
- ui::ContextFactory* context_factory() { return context_factory_.get(); }
-
private:
scoped_ptr<ui::ContextFactory> context_factory_;
scoped_refptr<cc::ContextProvider> context_provider_;

Powered by Google App Engine
This is Rietveld 408576698