Index: content/browser/aura/browser_compositor_output_surface.h |
diff --git a/content/browser/aura/browser_compositor_output_surface.h b/content/browser/aura/browser_compositor_output_surface.h |
index 4b891bdc2ef31e19e995f723bb357af1ca6b947e..cafbea5472fe22e2776cec4676997814c0050347 100644 |
--- a/content/browser/aura/browser_compositor_output_surface.h |
+++ b/content/browser/aura/browser_compositor_output_surface.h |
@@ -15,7 +15,9 @@ namespace base { class MessageLoopProxy; } |
namespace ui { class Compositor; } |
namespace content { |
+class ContextProviderCommandBuffer; |
class ReflectorImpl; |
+class WebGraphicsContext3DCommandBufferImpl; |
// Adapts a WebGraphicsContext3DCommandBufferImpl into a |
// cc::OutputSurface that also handles vsync parameter updates |
@@ -25,7 +27,7 @@ class BrowserCompositorOutputSurface |
public base::NonThreadSafe { |
public: |
BrowserCompositorOutputSurface( |
- scoped_ptr<WebKit::WebGraphicsContext3D> context, |
+ const scoped_refptr<ContextProviderCommandBuffer>& context, |
int surface_id, |
IDMap<BrowserCompositorOutputSurface>* output_surface_map, |
base::MessageLoopProxy* compositor_message_loop, |
@@ -44,6 +46,8 @@ class BrowserCompositorOutputSurface |
void SetReflector(ReflectorImpl* reflector); |
private: |
+ WebGraphicsContext3DCommandBufferImpl* command_buffer_context_; |
+ |
int surface_id_; |
IDMap<BrowserCompositorOutputSurface>* output_surface_map_; |