Index: chrome/browser/predictors/resource_prefetch_predictor.cc |
diff --git a/chrome/browser/predictors/resource_prefetch_predictor.cc b/chrome/browser/predictors/resource_prefetch_predictor.cc |
index 0b5235e753977a141149ee3a2de695041501b404..4186282351cc8e6dc5d503093fdc23dc21aaf86a 100644 |
--- a/chrome/browser/predictors/resource_prefetch_predictor.cc |
+++ b/chrome/browser/predictors/resource_prefetch_predictor.cc |
@@ -425,7 +425,8 @@ void ResourcePrefetchPredictor::FinishedPrefetchForNavigation( |
scoped_ptr<Result> result(new Result(key_type, requests)); |
// Add the results to the results map. |
- if (!results_map_.insert(std::make_pair(navigation_id, result.Pass())).second) |
+ if (!results_map_.insert(std::make_pair(navigation_id, std::move(result))) |
+ .second) |
DLOG(FATAL) << "Returning results for existing navigation."; |
} |