| Index: services/ui/ws/frame_generator.cc
|
| diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
|
| index cbed7bdf88139623ba7c64fe257d8e8d2ac2c2fd..8682a00bb3d24da14d415c8ef04bfc6f06a2db6f 100644
|
| --- a/services/ui/ws/frame_generator.cc
|
| +++ b/services/ui/ws/frame_generator.cc
|
| @@ -88,8 +88,7 @@ void FrameGenerator::Draw() {
|
| if (!delegate_->GetRootWindow()->visible())
|
| return;
|
|
|
| - const ViewportMetrics& metrics = delegate_->GetViewportMetrics();
|
| - const gfx::Rect output_rect(metrics.pixel_size);
|
| + const gfx::Rect output_rect(delegate_->GetViewportMetrics().pixel_size);
|
| dirty_rect_.Intersect(output_rect);
|
| // TODO(fsamuel): We should add a trace for generating a top level frame.
|
| cc::CompositorFrame frame(GenerateCompositorFrame(output_rect));
|
|
|