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

Unified Diff: gpu/tools/compositor_model_bench/render_models.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
Index: gpu/tools/compositor_model_bench/render_models.h
diff --git a/gpu/tools/compositor_model_bench/render_models.h b/gpu/tools/compositor_model_bench/render_models.h
index 5d04a3f25cd1c069e52f375b446eba1e4256591a..cc17dcb3845e6a07f9e8fb0f1b1825f0976247c7 100644
--- a/gpu/tools/compositor_model_bench/render_models.h
+++ b/gpu/tools/compositor_model_bench/render_models.h
@@ -8,10 +8,10 @@
#ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_RENDER_MODELS_H_
#define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_RENDER_MODELS_H_
-#include "gpu/tools/compositor_model_bench/render_tree.h"
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "gpu/tools/compositor_model_bench/render_tree.h"
enum RenderModel {
ForwardRenderModel
@@ -27,7 +27,7 @@ class RenderModelSimulator {
protected:
explicit RenderModelSimulator(RenderNode* root);
- scoped_ptr<RenderNode> root_;
+ std::unique_ptr<RenderNode> root_;
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(RenderModelSimulator);
« no previous file with comments | « gpu/tools/compositor_model_bench/render_model_utils.h ('k') | gpu/tools/compositor_model_bench/render_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698