| Index: ui/ozone/platform/cast/gl_surface_cast.cc
|
| diff --git a/ui/ozone/platform/cast/gl_surface_cast.cc b/ui/ozone/platform/cast/gl_surface_cast.cc
|
| index 6dc6099cd7d903a45df4e5fdc93e043442557169..05b337735b2cbfb15b99be6de4c3dd36fd59ae2a 100644
|
| --- a/ui/ozone/platform/cast/gl_surface_cast.cc
|
| +++ b/ui/ozone/platform/cast/gl_surface_cast.cc
|
| @@ -25,6 +25,18 @@ gfx::SwapResult GLSurfaceCast::SwapBuffers() {
|
| return result;
|
| }
|
|
|
| +gfx::SwapResult GLSurfaceCast::SwapBuffersWithDamage(int x,
|
| + int y,
|
| + int width,
|
| + int height) {
|
| + gfx::SwapResult result =
|
| + NativeViewGLSurfaceEGL::SwapBuffersWithDamage(x, y, width, height);
|
| + if (result == gfx::SwapResult::SWAP_ACK)
|
| + parent_->OnSwapBuffers();
|
| +
|
| + return result;
|
| +}
|
| +
|
| bool GLSurfaceCast::Resize(const gfx::Size& size,
|
| float scale_factor,
|
| bool has_alpha) {
|
|
|