| Index: content/browser/renderer_host/render_widget_host_view_mac.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| index 447c7c7f826e16bc1db737e84ae700ab1f9bd33c..9871aa3b98d33ec5af6af3160e18bee2a898bef5 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| @@ -290,7 +290,6 @@ class RenderWidgetHostViewMac : public content::RenderWidgetHostViewBase {
|
| virtual void AboutToWaitForBackingStoreMsg() OVERRIDE;
|
| virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
|
| virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
|
| - virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
|
|
|
| void DrawAcceleratedSurfaceInstance(
|
| CGLContextObj context,
|
| @@ -427,6 +426,19 @@ class RenderWidgetHostViewMac : public content::RenderWidgetHostViewBase {
|
| // pairs of (route_id, gpu_host_id).
|
| std::list<std::pair<int32, int32> > pending_swap_buffers_acks_;
|
|
|
| + class CompositingDelegateMac : public CompositingDelegate {
|
| + public:
|
| + virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
|
| + virtual bool ResizeNeedsNewSurface() OVERRIDE;
|
| +
|
| + private:
|
| + friend class RenderWidgetHostViewMac;
|
| + CompositingDelegateMac(RenderWidgetHostViewMac* view)
|
| + : view_(view)
|
| + {}
|
| + RenderWidgetHostViewMac* view_;
|
| + };
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
|
| };
|
|
|
|
|