Chromium Code Reviews| Index: content/browser/renderer_host/delegated_frame_host.cc |
| diff --git a/content/browser/renderer_host/delegated_frame_host.cc b/content/browser/renderer_host/delegated_frame_host.cc |
| index 2db813487f12ff86f0473fb0bb74568365a24df5..c88afcb235eede4113ba5db615d1f33492086702 100644 |
| --- a/content/browser/renderer_host/delegated_frame_host.cc |
| +++ b/content/browser/renderer_host/delegated_frame_host.cc |
| @@ -509,7 +509,7 @@ void DelegatedFrameHost::WillDrawSurface(const cc::LocalSurfaceId& id, |
| // do not attempt capture if |damage_rect| is empty. This prevents the draws |
|
danakj
2017/04/20 17:56:45
This comment no longer works
Alex Z.
2017/04/20 18:10:21
Done.
|
| // of parent surfaces from triggering extra frame captures, which can affect |
| // smoothness. |
| - if (id != local_surface_id_ || damage_rect.IsEmpty()) |
| + if (id != local_surface_id_) |
| return; |
| AttemptFrameSubscriberCapture(damage_rect); |
| } |