Index: content/browser/indexed_db/indexed_db_backing_store.cc |
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc |
index 499d6b9a97aed62e649f99d4efb8d15474f3545a..02789b0853097f38d7f57c30393382d07644d045 100644 |
--- a/content/browser/indexed_db/indexed_db_backing_store.cc |
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc |
@@ -1179,7 +1179,7 @@ std::vector<base::string16> IndexedDBBackingStore::GetDatabaseNames( |
// Decode database id (in iterator value). |
int64 database_id = 0; |
StringPiece valueSlice(it->Value()); |
- if (!DecodeVarInt(&valueSlice, &database_id) || !valueSlice.empty()) { |
+ if (!DecodeInt(&valueSlice, &database_id) || !valueSlice.empty()) { |
INTERNAL_CONSISTENCY_ERROR_UNTESTED(GET_DATABASE_NAMES); |
continue; |
} |