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

Side by Side Diff: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: convert newly added scoped_ptr's 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_
7 7
8 #include <memory>
9
8 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" 10 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h"
9 11
10 namespace gpu { 12 namespace gpu {
11 class GpuMemoryBufferManager; 13 class GpuMemoryBufferManager;
12 } 14 }
13 15
14 namespace content { 16 namespace content {
15 17
16 class BufferQueue; 18 class BufferQueue;
17 class GLHelper; 19 class GLHelper;
(...skipping 29 matching lines...) Expand all
47 49
48 unsigned int internalformat_; 50 unsigned int internalformat_;
49 std::unique_ptr<GLHelper> gl_helper_; 51 std::unique_ptr<GLHelper> gl_helper_;
50 std::unique_ptr<BufferQueue> output_surface_; 52 std::unique_ptr<BufferQueue> output_surface_;
51 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 53 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
52 }; 54 };
53 55
54 } // namespace content 56 } // namespace content
55 57
56 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_ SURFACE_H_ 58 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_ SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698