Index: ui/gl/gl_surface_overlay.cc |
diff --git a/ui/gl/gl_surface_overlay.cc b/ui/gl/gl_surface_overlay.cc |
index e683c10fbd91da33368b1e37372f24d20bddc4b5..2e3cbb990a17d04d0e4461ee753bcfe1e9b7e500 100644 |
--- a/ui/gl/gl_surface_overlay.cc |
+++ b/ui/gl/gl_surface_overlay.cc |
@@ -14,20 +14,25 @@ namespace gfx { |
GLSurfaceOverlay::GLSurfaceOverlay(int z_order, |
OverlayTransform transform, |
+ gfx::BufferFormat storage_format, |
gl::GLImage* image, |
const Rect& bounds_rect, |
- const RectF& crop_rect) |
+ const RectF& crop_rect, |
+ bool handle_scaling) |
: z_order_(z_order), |
transform_(transform), |
+ storage_format_(storage_format), |
image_(image), |
bounds_rect_(bounds_rect), |
- crop_rect_(crop_rect) {} |
+ crop_rect_(crop_rect), |
+ handle_scaling_(handle_scaling) {} |
GLSurfaceOverlay::~GLSurfaceOverlay() {} |
bool GLSurfaceOverlay::ScheduleOverlayPlane(AcceleratedWidget widget) const { |
return image_->ScheduleOverlayPlane(widget, z_order_, transform_, |
- bounds_rect_, crop_rect_); |
+ storage_format_, bounds_rect_, |
+ crop_rect_, handle_scaling_); |
} |
} // namespace gfx |