Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: content/browser/compositor/browser_compositor_output_surface.cc

Issue 168073002: Remove the --ui-max-frames-pending flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uimaxframespending: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | ui/compositor/compositor_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | ui/compositor/compositor_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698