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

Unified Diff: cc/test/test_task_graph_runner.h

Issue 1449133002: TaskGraphRunner refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 5 years, 1 month 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/task_graph_runner_test_template.cc ('k') | cc/test/test_task_graph_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_task_graph_runner.h
diff --git a/cc/test/test_task_graph_runner.h b/cc/test/test_task_graph_runner.h
index 4588a2ab66b8447da6e7c1419e7a06e83b085d06..60ddca1bfc7ffd1d043f89ff8ab3eca9821a7302 100644
--- a/cc/test/test_task_graph_runner.h
+++ b/cc/test/test_task_graph_runner.h
@@ -6,22 +6,16 @@
#define CC_TEST_TEST_TASK_GRAPH_RUNNER_H_
#include "base/threading/simple_thread.h"
-#include "cc/raster/task_graph_runner.h"
+#include "cc/raster/single_thread_task_graph_runner.h"
namespace cc {
-class TestTaskGraphRunner : public TaskGraphRunner,
- public base::DelegateSimpleThread::Delegate {
+class TestTaskGraphRunner : public SingleThreadTaskGraphRunner {
public:
TestTaskGraphRunner();
~TestTaskGraphRunner() override;
- // Overridden from base::DelegateSimpleThread::Delegate:
- void Run() override;
-
private:
- base::DelegateSimpleThread worker_thread_;
-
DISALLOW_COPY_AND_ASSIGN(TestTaskGraphRunner);
};
« no previous file with comments | « cc/test/task_graph_runner_test_template.cc ('k') | cc/test/test_task_graph_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698