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 93db0512ed2eb12c89a66943cfd2900caa9b6cdc..b60a55f703f95a4eafce45916f6c1f82e8269874 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; |
} |