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

Unified Diff: components/view_manager/gles2/raster_thread_helper.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/view_manager/gles2/raster_thread_helper.h ('k') | components/view_manager/ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/gles2/raster_thread_helper.cc
diff --git a/components/view_manager/gles2/raster_thread_helper.cc b/components/view_manager/gles2/raster_thread_helper.cc
deleted file mode 100644
index a873f33ca9329a862bc26dab7e1520b1284c08f2..0000000000000000000000000000000000000000
--- a/components/view_manager/gles2/raster_thread_helper.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/view_manager/gles2/raster_thread_helper.h"
-
-#include "base/logging.h"
-#include "base/threading/simple_thread.h"
-#include "cc/raster/task_graph_runner.h"
-
-namespace gles2 {
-
-class RasterThreadHelper::RasterThread : public base::SimpleThread {
- public:
- RasterThread(cc::TaskGraphRunner* task_graph_runner)
- : base::SimpleThread("CompositorTileWorker1"),
- task_graph_runner_(task_graph_runner) {}
-
- // Overridden from base::SimpleThread:
- void Run() override { task_graph_runner_->Run(); }
-
- private:
- cc::TaskGraphRunner* task_graph_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(RasterThread);
-};
-
-RasterThreadHelper::RasterThreadHelper()
- : task_graph_runner_(new cc::TaskGraphRunner),
- raster_thread_(new RasterThread(task_graph_runner_.get())) {
- raster_thread_->Start();
-}
-
-RasterThreadHelper::~RasterThreadHelper() {
- task_graph_runner_->Shutdown();
- raster_thread_->Join();
-}
-
-} // namespace gles2
« no previous file with comments | « components/view_manager/gles2/raster_thread_helper.h ('k') | components/view_manager/ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698