Index: content/browser/compositor/gpu_browser_compositor_output_surface.h |
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.h b/content/browser/compositor/gpu_browser_compositor_output_surface.h |
index 6bf62dbce91b5a28f09e27b32cecf07801845f6c..2eadd92c6038f58d84ba0d4f5fcad7eed4ef817a 100644 |
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.h |
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.h |
@@ -74,12 +74,14 @@ class GpuBrowserCompositorOutputSurface |
bool IsDisplayedAsOverlayPlane() const override; |
unsigned GetOverlayTextureId() const override; |
bool SurfaceIsSuspendForRecycle() const override; |
+ void SetDrawRectangle(const gfx::Rect& rect) override; |
protected: |
gpu::CommandBufferProxyImpl* GetCommandBufferProxy(); |
cc::OutputSurfaceClient* client_ = nullptr; |
std::unique_ptr<ReflectorTexture> reflector_texture_; |
+ bool set_draw_rectangle_for_frame_ = false; |
base::WeakPtrFactory<GpuBrowserCompositorOutputSurface> weak_ptr_factory_; |
private: |