Chromium Code Reviews| Index: services/ui/ws/frame_generator.cc |
| diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc |
| index c944b651785d3ece393a03cb3dd884effdb0f68e..77bab94bb67b6841943c400af7bfe4e77c2ba27d 100644 |
| --- a/services/ui/ws/frame_generator.cc |
| +++ b/services/ui/ws/frame_generator.cc |
| @@ -70,7 +70,7 @@ void FrameGenerator::Draw() { |
| return; |
| const ViewportMetrics& metrics = delegate_->GetViewportMetrics(); |
| - const gfx::Rect& output_rect = metrics.bounds; |
| + const gfx::Rect& output_rect(metrics.bounds.size()); |
|
sky
2016/08/17 18:57:54
remove the & here.
kylechar
2016/08/17 19:10:01
Oh wow, should not have missed that one. Done.
|
| dirty_rect_.Intersect(output_rect); |
| // TODO(fsamuel): We should add a trace for generating a top level frame. |
| cc::CompositorFrame frame(GenerateCompositorFrame(output_rect)); |