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

Unified Diff: gpu/command_buffer/service/gpu_state_tracer.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gpu_service_test.h ('k') | gpu/command_buffer/service/gpu_state_tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_state_tracer.h
diff --git a/gpu/command_buffer/service/gpu_state_tracer.h b/gpu/command_buffer/service/gpu_state_tracer.h
index 1cb7fe92534aee483fe055ab596b03a05d419311..09a873bd517899d4656c09e1eb4b7f467146e442 100644
--- a/gpu/command_buffer/service/gpu_state_tracer.h
+++ b/gpu/command_buffer/service/gpu_state_tracer.h
@@ -5,8 +5,9 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_STATE_TRACER_H_
#define GPU_COMMAND_BUFFER_SERVICE_GPU_STATE_TRACER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace gfx {
class Size;
@@ -20,7 +21,7 @@ struct ContextState;
// Saves GPU state such as framebuffer contents while tracing.
class GPUStateTracer {
public:
- static scoped_ptr<GPUStateTracer> Create(const ContextState* state);
+ static std::unique_ptr<GPUStateTracer> Create(const ContextState* state);
~GPUStateTracer();
// Take a state snapshot with a screenshot of the currently bound framebuffer.
« no previous file with comments | « gpu/command_buffer/service/gpu_service_test.h ('k') | gpu/command_buffer/service/gpu_state_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698