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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 76a15060abc1b43be3334c9671fa1a23aedc7eb1..4f017db34351e67cc653ffab224365b008981d2d 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -3335,7 +3335,7 @@ void LayerTreeHostImpl::PinchGestureEnd() {
std::unique_ptr<BeginFrameCallbackList>
LayerTreeHostImpl::ProcessLayerTreeMutations() {
- auto callbacks = make_scoped_ptr(new BeginFrameCallbackList());
+ std::unique_ptr<BeginFrameCallbackList> callbacks(new BeginFrameCallbackList);
if (mutator_) {
const base::Closure& callback = mutator_->TakeMutations();
if (!callback.is_null())

Powered by Google App Engine
This is Rietveld 408576698