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

Unified Diff: chrome/common/indexed_db_key.cc

Issue 5695002: IndexedDB: Numeric keys are floating point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/common/indexed_db_key.cc
diff --git a/chrome/common/indexed_db_key.cc b/chrome/common/indexed_db_key.cc
index 9f7d1537e858af54dae53d9d43d6d347d7ce2f76..4488673dcdb93920ba08f833eae9b5627dbebba3 100644
--- a/chrome/common/indexed_db_key.cc
+++ b/chrome/common/indexed_db_key.cc
@@ -34,7 +34,7 @@ void IndexedDBKey::Set(const string16& string) {
string_ = string;
}
-void IndexedDBKey::Set(int32_t number) {
+void IndexedDBKey::Set(double number) {
type_ = WebIDBKey::NumberType;
number_ = number;
}

Powered by Google App Engine
This is Rietveld 408576698