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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2231233002: cc: Remove the lie of "DirectRenderer" in LayerTreeTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no-ltt-delegating: ccpt Created 4 years, 4 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 | « cc/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host_common_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 8947789ca2f11768264bdb9ebfee68337bd5d0ab..86bb2e0a75efd304abdbd557b76a664b34f1bfb9 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -787,7 +787,7 @@ void LayerTreeTest::DispatchNextCommitWaitsForActivation() {
layer_tree_host_->SetNextCommitWaitsForActivation();
}
-void LayerTreeTest::RunTest(CompositorMode mode, bool delegating_renderer) {
+void LayerTreeTest::RunTest(CompositorMode mode) {
mode_ = mode;
if (mode_ == CompositorMode::THREADED || mode_ == CompositorMode::REMOTE) {
impl_thread_.reset(new base::Thread("Compositor"));
@@ -798,8 +798,6 @@ void LayerTreeTest::RunTest(CompositorMode mode, bool delegating_renderer) {
gpu_memory_buffer_manager_.reset(new TestGpuMemoryBufferManager);
task_graph_runner_.reset(new TestTaskGraphRunner);
- delegating_renderer_ = delegating_renderer;
-
// Spend less time waiting for BeginFrame because the output is
// mocked out.
settings_.renderer_settings.refresh_rate = 200.0;
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host_common_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698