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

Unified Diff: content/renderer/android/synchronous_compositor_factory.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
Index: content/renderer/android/synchronous_compositor_factory.h
diff --git a/content/renderer/android/synchronous_compositor_factory.h b/content/renderer/android/synchronous_compositor_factory.h
index 91185ffbd9dc9f9500a64bc414ce92a09d8231b0..d9bc10d2f401b00ebc4ceedae3f441b9597cfbf4 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
#define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "gpu/config/gpu_info.h"
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
@@ -48,7 +49,7 @@ class SynchronousCompositorFactory {
virtual scoped_refptr<base::SingleThreadTaskRunner>
GetCompositorTaskRunner() = 0;
- virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
+ virtual std::unique_ptr<cc::OutputSurface> CreateOutputSurface(
int routing_id,
uint32_t output_surface_id,
const scoped_refptr<FrameSwapMessageQueue>& frame_swap_message_queue,
@@ -60,7 +61,7 @@ class SynchronousCompositorFactory {
virtual SynchronousInputHandlerProxyClient*
GetSynchronousInputHandlerProxyClient() = 0;
- virtual scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
+ virtual std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
int routing_id) = 0;
protected:
« no previous file with comments | « content/renderer/android/email_detector.cc ('k') | content/renderer/android/synchronous_compositor_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698