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

Unified Diff: content/child/quota_dispatcher.cc

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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 | « content/child/quota_dispatcher.h ('k') | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/quota_dispatcher.cc
diff --git a/content/child/quota_dispatcher.cc b/content/child/quota_dispatcher.cc
index 730fb8a348b4d8dc6111c7ccb5e0a68cc141ff8d..e36db05fa602016c0d880f604c95b63f48b37c2e 100644
--- a/content/child/quota_dispatcher.cc
+++ b/content/child/quota_dispatcher.cc
@@ -70,7 +70,7 @@ QuotaDispatcher::QuotaDispatcher(ThreadSafeSender* thread_safe_sender,
}
QuotaDispatcher::~QuotaDispatcher() {
- IDMap<Callback, IDMapOwnPointer>::iterator iter(&pending_quota_callbacks_);
+ IDMap<std::unique_ptr<Callback>>::iterator iter(&pending_quota_callbacks_);
while (!iter.IsAtEnd()) {
iter.GetCurrentValue()->DidFail(storage::kQuotaErrorAbort);
iter.Advance();
« no previous file with comments | « content/child/quota_dispatcher.h ('k') | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698