| 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 cc17dcb3845e6a07f9e8fb0f1b1825f0976247c7..c68d5c69c3cdb7dc0aa7918f85a310b8bc5118ca 100644
|
| --- a/gpu/tools/compositor_model_bench/render_models.h
|
| +++ b/gpu/tools/compositor_model_bench/render_models.h
|
| @@ -26,17 +26,19 @@ class RenderModelSimulator {
|
| virtual void Resize(int width, int height) = 0;
|
|
|
| protected:
|
| - explicit RenderModelSimulator(RenderNode* root);
|
| + explicit RenderModelSimulator(std::unique_ptr<RenderNode> root);
|
| +
|
| std::unique_ptr<RenderNode> root_;
|
|
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(RenderModelSimulator);
|
| };
|
|
|
| -RenderModelSimulator* ConstructSimulationModel(RenderModel model,
|
| - RenderNode* render_tree_root,
|
| - int window_width,
|
| - int window_height);
|
| +std::unique_ptr<RenderModelSimulator> ConstructSimulationModel(
|
| + RenderModel model,
|
| + std::unique_ptr<RenderNode> render_tree_root,
|
| + int window_width,
|
| + int window_height);
|
|
|
| #endif // GPU_TOOLS_COMPOSITOR_MODEL_BENCH_RENDER_MODELS_H_
|
|
|
|
|