Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index d808f621d1d8e336c60978ab4dfcae089cfed14b..946ab3a015daee6cb107be35f305bdf3f13f7731 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -33,6 +33,7 @@ class RunLoop; |
namespace cc { |
class ContextProvider; |
+class GpuMemoryBufferManager; |
class Layer; |
class LayerTreeDebugState; |
class LayerTreeHost; |
@@ -92,6 +93,9 @@ class COMPOSITOR_EXPORT ContextFactory { |
// Gets the shared bitmap manager for software mode. |
virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0; |
+ // Gets the GPU memory buffer manager. |
+ virtual cc::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; |
+ |
// Gets the compositor message loop, or NULL if not using threaded |
// compositing. |
virtual base::MessageLoopProxy* GetCompositorMessageLoop() = 0; |