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

Unified Diff: chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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: chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc b/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
index 4ef2d5796113fb362487595a7629d65482b9e971..90f43f5581fa1bd61372726de4c1e79b4f06a8f6 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
@@ -103,8 +103,9 @@ void ExpectEquivalent(const base::hash_map<Key, Value>& left,
}
template <typename Key, typename Value>
-void ExpectEquivalent(const base::ScopedPtrHashMap<Key, Value>& left,
- const base::ScopedPtrHashMap<Key, Value>& right) {
+void ExpectEquivalent(
+ const base::ScopedPtrHashMap<Key, scoped_ptr<Value>>& left,
+ const base::ScopedPtrHashMap<Key, scoped_ptr<Value>>& right) {
ExpectEquivalentMaps(std::map<Key, Value*>(left.begin(), left.end()),
std::map<Key, Value*>(right.begin(), right.end()));
}

Powered by Google App Engine
This is Rietveld 408576698