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

Unified Diff: components/history/core/browser/history_backend.h

Issue 2314833002: Remove some uses of stl_util's STLDeleteContainerPointers. (Closed)
Patch Set: remove more Created 4 years, 3 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: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 64c2b62c9ec1530251dad47710acc1763c947fdb..30498dda5f5b4a884526f44462869be33e2b7ae9 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -871,7 +871,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
bool segment_queried_;
// List of QueuedHistoryDBTasks to run;
- std::list<QueuedHistoryDBTask*> queued_history_db_tasks_;
+ std::list<std::unique_ptr<QueuedHistoryDBTask>> queued_history_db_tasks_;
// Used to determine if a URL is bookmarked; may be null.
std::unique_ptr<HistoryBackendClient> backend_client_;

Powered by Google App Engine
This is Rietveld 408576698