summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.cc
diff options
context:
space:
mode:
authorweiliangc <weiliangc@chromium.org>2014-12-04 14:59:09 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-04 22:59:55 +0000
commit57b14e4a537ee86976966d7291741c2814613d41 (patch)
tree951f630880c3ac0349a53f79271ac3d64615929e /cc/test/layer_tree_test.cc
parent89101772304452c3da761dfadc510a3aac829c82 (diff)
downloadchromium_src-57b14e4a537ee86976966d7291741c2814613d41.zip
chromium_src-57b14e4a537ee86976966d7291741c2814613d41.tar.gz
chromium_src-57b14e4a537ee86976966d7291741c2814613d41.tar.bz2
Enable scheduler main thread low latency mode for SingleThreadProxy.
In STP, turn on main thread low latency mode. Remove ui::compositor turn on for this mode since it's now duplicated. Remove duplicated unittests since now all test running STP would use this mode. Review URL: https://codereview.chromium.org/778643008 Cr-Commit-Position: refs/heads/master@{#306922}
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r--cc/test/layer_tree_test.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 9f08677..5be1240 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -785,11 +785,6 @@ void LayerTreeTest::RunTestWithImplSidePainting() {
RunTest(true, false, true);
}
-void LayerTreeTest::RunTestWithMainThreadLowLatency() {
- settings_.main_thread_should_always_be_low_latency = true;
- RunTest(false, false, false);
-}
-
void LayerTreeTest::RequestNewOutputSurface(bool fallback) {
layer_tree_host_->SetOutputSurface(CreateOutputSurface(fallback));
}