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

Unified Diff: cc/surfaces/onscreen_display_client.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 5 years, 6 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
Index: cc/surfaces/onscreen_display_client.cc
diff --git a/cc/surfaces/onscreen_display_client.cc b/cc/surfaces/onscreen_display_client.cc
index 83db365c291f159963694a6e14cba80b6fde41a5..8734efb68860c46aa35fa08602f2555d5ebba739 100644
--- a/cc/surfaces/onscreen_display_client.cc
+++ b/cc/surfaces/onscreen_display_client.cc
@@ -31,7 +31,7 @@ OnscreenDisplayClient::OnscreenDisplayClient(
vsync_observer_(nullptr),
task_runner_(task_runner),
output_surface_lost_(false),
- disable_gpu_vsync_(settings.disable_gpu_vsync) {
+ disable_display_vsync_(settings.disable_display_vsync) {
}
OnscreenDisplayClient::~OnscreenDisplayClient() {
@@ -43,7 +43,7 @@ bool OnscreenDisplayClient::Initialize() {
if (max_frames_pending <= 0)
max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING;
- if (disable_gpu_vsync_) {
+ if (disable_display_vsync_) {
begin_frame_source_ =
BackToBackBeginFrameSource::Create(task_runner_.get());
} else {

Powered by Google App Engine
This is Rietveld 408576698