Chromium Code Reviews| Index: content/browser/renderer_host/compositor_impl_android.cc |
| diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
| index a75b5ccacdab4d94023b84af9c43a95457f3cd1f..05e121390193db3bb72a2257fc542bc1f16fc41a 100644 |
| --- a/content/browser/renderer_host/compositor_impl_android.cc |
| +++ b/content/browser/renderer_host/compositor_impl_android.cc |
| @@ -67,7 +67,7 @@ namespace content { |
| namespace { |
| -const unsigned int kMaxSwapBuffers = 2U; |
| +const unsigned int kMaxSwapBuffers = 1U; |
| // Used to override capabilities_.adjust_deadline_for_parent to false |
| class OutputSurfaceWithoutParent : public cc::OutputSurface, |
| @@ -85,7 +85,7 @@ class OutputSurfaceWithoutParent : public cc::OutputSurface, |
| base::Bind(&OutputSurfaceWithoutParent::OnSwapBuffersCompleted, |
| base::Unretained(this))) { |
| capabilities_.adjust_deadline_for_parent = false; |
| - capabilities_.max_frames_pending = 2; |
| + capabilities_.max_frames_pending = 1; |
|
no sievers
2015/09/30 22:20:25
nit: kMaxSwapBuffers?
brianderson
2015/10/01 00:20:12
This refers to a different setting that will be us
|
| } |
| ~OutputSurfaceWithoutParent() override { compositor_->RemoveObserver(this); } |