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

Unified Diff: content/renderer/gpu/compositor_dependencies.h

Issue 1873783003: Convert //content/renderer 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/geolocation_dispatcher.h ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_dependencies.h
diff --git a/content/renderer/gpu/compositor_dependencies.h b/content/renderer/gpu/compositor_dependencies.h
index 3f82883dff0ae3f9abe31e76c02e69a70a69a073..9ed2f78b316f4177091bda945dc423e7fe58eea4 100644
--- a/content/renderer/gpu/compositor_dependencies.h
+++ b/content/renderer/gpu/compositor_dependencies.h
@@ -5,10 +5,10 @@
#ifndef CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
#define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
+#include <memory>
#include <vector>
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
namespace base {
class SingleThreadTaskRunner;
@@ -54,7 +54,7 @@ class CompositorDependencies {
virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
virtual scheduler::RendererScheduler* GetRendererScheduler() = 0;
virtual cc::ContextProvider* GetSharedMainThreadContextProvider() = 0;
- virtual scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
+ virtual std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
int routing_id) = 0;
virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0;
virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
« no previous file with comments | « content/renderer/geolocation_dispatcher.h ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698