Index: net/disk_cache/blockfile/in_flight_backend_io.cc |
diff --git a/net/disk_cache/blockfile/in_flight_backend_io.cc b/net/disk_cache/blockfile/in_flight_backend_io.cc |
index 307f7d2a8d09a2f35030929d055a1465e482b283..7cd3a0537a320c1788d269b27d0689934736c20d 100644 |
--- a/net/disk_cache/blockfile/in_flight_backend_io.cc |
+++ b/net/disk_cache/blockfile/in_flight_backend_io.cc |
@@ -128,7 +128,7 @@ void BackendIO::OpenNextEntry(Rankings::Iterator* iterator, |
entry_ptr_ = next_entry; |
} |
-void BackendIO::EndEnumeration(scoped_ptr<Rankings::Iterator> iterator) { |
+void BackendIO::EndEnumeration(std::unique_ptr<Rankings::Iterator> iterator) { |
operation_ = OP_END_ENUMERATION; |
scoped_iterator_ = std::move(iterator); |
} |
@@ -413,7 +413,7 @@ void InFlightBackendIO::OpenNextEntry(Rankings::Iterator* iterator, |
} |
void InFlightBackendIO::EndEnumeration( |
- scoped_ptr<Rankings::Iterator> iterator) { |
+ std::unique_ptr<Rankings::Iterator> iterator) { |
scoped_refptr<BackendIO> operation( |
new BackendIO(this, backend_, net::CompletionCallback())); |
operation->EndEnumeration(std::move(iterator)); |