summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_unittest.cc
diff options
context:
space:
mode:
authorbrianderson <brianderson@chromium.org>2015-05-27 19:35:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-28 02:35:39 +0000
commitdc9732c506ef024c0f6cc3b35e017e4b95d01263 (patch)
tree5c4aa94360149b71e3c38572946b57f7bae236f0 /cc/trees/layer_tree_host_unittest.cc
parent8a79cc1a2db9476c8238c20a3e87aa853c8d079e (diff)
downloadchromium_src-dc9732c506ef024c0f6cc3b35e017e4b95d01263.zip
chromium_src-dc9732c506ef024c0f6cc3b35e017e4b95d01263.tar.gz
chromium_src-dc9732c506ef024c0f6cc3b35e017e4b95d01263.tar.bz2
cc: Support --disable-gpu-vsync with DisplayScheduler
This gives the DisplayScheduler an unthrottled BeginFrameSource if --disable-gpu-vsync was passed to the command line. BUG=467750, 491387 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1144073003 Cr-Commit-Position: refs/heads/master@{#331728}
Diffstat (limited to 'cc/trees/layer_tree_host_unittest.cc')
-rw-r--r--cc/trees/layer_tree_host_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 5f2c407..e000239 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -2892,7 +2892,7 @@ class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync
: public LayerTreeHostTestAbortedCommitDoesntStall {
void InitializeSettings(LayerTreeSettings* settings) override {
LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings);
- settings->throttle_frame_production = false;
+ settings->renderer_settings.disable_gpu_vsync = true;
}
};