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

Unified Diff: sync/sessions/data_type_tracker.cc

Issue 1866243002: Convert //sync 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: sync/sessions/data_type_tracker.cc
diff --git a/sync/sessions/data_type_tracker.cc b/sync/sessions/data_type_tracker.cc
index 4a8d8d022d21ad8680fe2dc3d1d2b6c5e24ab0a1..fa7a507334502ee39df21b2c84d6a10ae3357d3b 100644
--- a/sync/sessions/data_type_tracker.cc
+++ b/sync/sessions/data_type_tracker.cc
@@ -35,7 +35,7 @@ void DataTypeTracker::RecordLocalRefreshRequest() {
}
void DataTypeTracker::RecordRemoteInvalidation(
- scoped_ptr<InvalidationInterface> incoming) {
+ std::unique_ptr<InvalidationInterface> incoming) {
DCHECK(incoming);
// Merge the incoming invalidation into our list of pending invalidations.

Powered by Google App Engine
This is Rietveld 408576698