Chromium Code Reviews| Index: content/renderer/gpu/compositor_output_surface.cc |
| diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc |
| index da0bd2a87607a19343181c0a9ad2ef1c38a8dcc9..942b3a182ab113a8fbbc80d11f74b96269c9e357 100644 |
| --- a/content/renderer/gpu/compositor_output_surface.cc |
| +++ b/content/renderer/gpu/compositor_output_surface.cc |
| @@ -65,6 +65,8 @@ CompositorOutputSurface::CompositorOutputSurface( |
| CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| capabilities_.has_parent_compositor = command_line->HasSwitch( |
| switches::kEnableDelegatedRenderer); |
| + if (capabilities_.has_parent_compositor) |
| + capabilities_.max_frames_pending = 1; |
|
piman
2013/03/13 15:55:22
This logic should stay inside the compositor. It's
jonathan.backer
2013/03/13 16:55:29
Done.
|
| DetachFromThread(); |
| } |