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

Unified Diff: cc/trees/layer_tree_host_common.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: 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_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 892521cd4bd9dee71f19736091fcdefa25ebbbe5..2b6d27d49cc92e52c921c27679a73e082f7d26e9 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -175,7 +175,7 @@ struct CC_EXPORT ScrollAndScaleSet {
float page_scale_delta;
gfx::Vector2dF elastic_overscroll_delta;
float top_controls_delta;
- std::vector<scoped_ptr<SwapPromise>> swap_promises;
+ std::vector<std::unique_ptr<SwapPromise>> swap_promises;
bool EqualsForTesting(const ScrollAndScaleSet& other) const;
void ToProtobuf(proto::ScrollAndScaleSet* proto) const;

Powered by Google App Engine
This is Rietveld 408576698