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

Side by Side Diff: components/mus/gles2/raster_thread_helper.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/mus/gles2/ozone_gpu_memory_buffer.cc ('k') | components/mus/mus_app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_ 5 #ifndef COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_
6 #define COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_ 6 #define COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 11
11 namespace cc { 12 namespace cc {
12 class TaskGraphRunner; 13 class TaskGraphRunner;
13 class SingleThreadTaskGraphRunner; 14 class SingleThreadTaskGraphRunner;
14 } 15 }
15 16
16 namespace gles2 { 17 namespace gles2 {
17 18
18 class RasterThreadHelper { 19 class RasterThreadHelper {
19 public: 20 public:
20 RasterThreadHelper(); 21 RasterThreadHelper();
21 ~RasterThreadHelper(); 22 ~RasterThreadHelper();
22 23
23 cc::TaskGraphRunner* task_graph_runner(); 24 cc::TaskGraphRunner* task_graph_runner();
24 25
25 private: 26 private:
26 scoped_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; 27 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
27 28
28 DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper); 29 DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper);
29 }; 30 };
30 31
31 } // namespace gles2 32 } // namespace gles2
32 33
33 #endif // COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_ 34 #endif // COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_
OLDNEW
« no previous file with comments | « components/mus/gles2/ozone_gpu_memory_buffer.cc ('k') | components/mus/mus_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698