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

Unified Diff: cc/trees/proxy.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/trees/occlusion_tracker_unittest.cc ('k') | cc/trees/proxy_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 27144aa36bc257dd0a32244a17627b7a0814b121..5c39d7066a80125139394cd1e34f1a2b7737483e 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -5,11 +5,11 @@
#ifndef CC_TREES_PROXY_H_
#define CC_TREES_PROXY_H_
+#include <memory>
#include <string>
#include "base/logging.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/platform_thread.h"
#include "base/time/time.h"
#include "base/values.h"
@@ -69,7 +69,7 @@ class CC_EXPORT Proxy {
// Must be called before using the proxy.
virtual void Start(
- scoped_ptr<BeginFrameSource> external_begin_frame_source) = 0;
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0;
virtual void Stop() = 0; // Must be called before deleting the proxy.
virtual bool SupportsImplScrolling() const = 0;
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | cc/trees/proxy_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698