Index: blimp/common/compositor/blimp_task_graph_runner.h |
diff --git a/blimp/common/compositor/blimp_task_graph_runner.h b/blimp/common/compositor/blimp_task_graph_runner.h |
index 666f743bd11218d167a16b3ba8324c00fdb3292c..084f3979479ef97fe664b84f907698ecd0417c7e 100644 |
--- a/blimp/common/compositor/blimp_task_graph_runner.h |
+++ b/blimp/common/compositor/blimp_task_graph_runner.h |
@@ -8,25 +8,20 @@ |
#include "base/macros.h" |
#include "base/threading/simple_thread.h" |
#include "blimp/common/blimp_common_export.h" |
-#include "cc/raster/task_graph_runner.h" |
+#include "cc/raster/single_thread_task_graph_runner.h" |
namespace blimp { |
-// TaskGraphRunner that runs on a single thread. See cc::TaskGraphRunner for |
-// details. Used by client's compositor and engine's dummy UI context factory. |
+// TaskGraphRunner that runs on a single thread. See |
+// cc::SingleThreadTaskGraphRunner for details. Used by client's compositor and |
+// engine's dummy UI context factory. |
class BLIMP_COMMON_EXPORT BlimpTaskGraphRunner |
- : public cc::TaskGraphRunner, |
- public base::DelegateSimpleThread::Delegate { |
+ : public cc::SingleThreadTaskGraphRunner { |
public: |
BlimpTaskGraphRunner(); |
~BlimpTaskGraphRunner() override; |
private: |
- // base::DelegateSimpleThread::Delegate implementation. |
- void Run() override; |
- |
- base::DelegateSimpleThread worker_thread_; |
- |
DISALLOW_COPY_AND_ASSIGN(BlimpTaskGraphRunner); |
}; |