| Index: content/browser/compositor/browser_compositor_output_surface.cc
|
| diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
|
| index ff09ab7f5a8e4cafdc8759e5944d9133e4ff3eb4..6f82df4bb921fdd70f16b86e3b44de91f10649da 100644
|
| --- a/content/browser/compositor/browser_compositor_output_surface.cc
|
| +++ b/content/browser/compositor/browser_compositor_output_surface.cc
|
| @@ -47,16 +47,7 @@ BrowserCompositorOutputSurface::~BrowserCompositorOutputSurface() {
|
| }
|
|
|
| void BrowserCompositorOutputSurface::Initialize() {
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - if (command_line->HasSwitch(switches::kUIMaxFramesPending)) {
|
| - std::string string_value = command_line->GetSwitchValueASCII(
|
| - switches::kUIMaxFramesPending);
|
| - int int_value;
|
| - if (base::StringToInt(string_value, &int_value))
|
| - capabilities_.max_frames_pending = int_value;
|
| - else
|
| - LOG(ERROR) << "Trouble parsing --" << switches::kUIMaxFramesPending;
|
| - }
|
| + capabilities_.max_frames_pending = 1;
|
| capabilities_.adjust_deadline_for_parent = false;
|
|
|
| DetachFromThread();
|
|
|