| Index: ui/ozone/platform/cast/gl_surface_cast.h
|
| diff --git a/ui/ozone/platform/cast/gl_surface_cast.h b/ui/ozone/platform/cast/gl_surface_cast.h
|
| index 383e341adc28d2ea97e40a426c29ca8b35440c23..9d37f9d08af733d7f5e71417c4c83e92da9eb064 100644
|
| --- a/ui/ozone/platform/cast/gl_surface_cast.h
|
| +++ b/ui/ozone/platform/cast/gl_surface_cast.h
|
| @@ -22,11 +22,10 @@ class GLSurfaceCast : public gl::NativeViewGLSurfaceEGL {
|
| GLSurfaceCast(gfx::AcceleratedWidget widget, SurfaceFactoryCast* parent);
|
|
|
| // gl::GLSurface:
|
| + bool SupportsSwapBuffersWithBounds() override;
|
| gfx::SwapResult SwapBuffers() override;
|
| - gfx::SwapResult SwapBuffersWithDamage(int x,
|
| - int y,
|
| - int width,
|
| - int height) override;
|
| + gfx::SwapResult SwapBuffersWithBounds(
|
| + const std::vector<gfx::Rect>& rects) override;
|
| bool Resize(const gfx::Size& size,
|
| float scale_factor,
|
| bool has_alpha) override;
|
| @@ -42,6 +41,7 @@ class GLSurfaceCast : public gl::NativeViewGLSurfaceEGL {
|
|
|
| gfx::AcceleratedWidget widget_;
|
| SurfaceFactoryCast* parent_;
|
| + bool supports_swap_buffer_with_bounds_;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(GLSurfaceCast);
|
|
|