Index: content/browser/compositor/offscreen_browser_compositor_output_surface.h |
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.h b/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
index b3fa660839398f40899100734f82826cdf8eeff2..0a947ee848011969850ea172841adc8fe776ad89 100644 |
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.h |
@@ -35,8 +35,9 @@ class OffscreenBrowserCompositorOutputSurface |
~OffscreenBrowserCompositorOutputSurface() override; |
- protected: |
- // cc::OutputSurface: |
+ private: |
+ // cc::OutputSurface implementation. |
+ void BindToClient(cc::OutputSurfaceClient* client) override; |
void EnsureBackbuffer() override; |
void DiscardBackbuffer() override; |
void Reshape(const gfx::Size& size, |
@@ -50,23 +51,22 @@ class OffscreenBrowserCompositorOutputSurface |
bool SurfaceIsSuspendForRecycle() const override; |
uint32_t GetFramebufferCopyTextureFormat() override; |
- // BrowserCompositorOutputSurface |
+ // BrowserCompositorOutputSurface implementation. |
void OnReflectorChanged() override; |
#if defined(OS_MACOSX) |
void SetSurfaceSuspendedForRecycle(bool suspended) override {}; |
#endif |
+ void OnSwapBuffersComplete(); |
+ |
+ cc::OutputSurfaceClient* client_ = nullptr; |
gfx::Size reshape_size_; |
uint32_t fbo_ = 0; |
bool reflector_changed_ = false; |
std::unique_ptr<ReflectorTexture> reflector_texture_; |
- |
base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface> |
weak_ptr_factory_; |
- private: |
- void OnSwapBuffersComplete(); |
- |
DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface); |
}; |