Index: content/child/fileapi/file_system_dispatcher.cc |
diff --git a/content/child/fileapi/file_system_dispatcher.cc b/content/child/fileapi/file_system_dispatcher.cc |
index e2467709850c74813b905a917adf80f0ce7469ce..9cc58a4c6c9c02dcdc8eaf90810bd14c33da1ee4 100644 |
--- a/content/child/fileapi/file_system_dispatcher.cc |
+++ b/content/child/fileapi/file_system_dispatcher.cc |
@@ -146,8 +146,8 @@ FileSystemDispatcher::FileSystemDispatcher() { |
FileSystemDispatcher::~FileSystemDispatcher() { |
// Make sure we fire all the remaining callbacks. |
- for (IDMap<CallbackDispatcher, IDMapOwnPointer>::iterator |
- iter(&dispatchers_); !iter.IsAtEnd(); iter.Advance()) { |
+ for (IDMap<std::unique_ptr<CallbackDispatcher>>::iterator iter(&dispatchers_); |
+ !iter.IsAtEnd(); iter.Advance()) { |
int request_id = iter.GetCurrentKey(); |
CallbackDispatcher* dispatcher = iter.GetCurrentValue(); |
DCHECK(dispatcher); |