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

Unified Diff: chrome/common/indexed_db_param_traits.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_param_traits.cc
diff --git a/chrome/common/indexed_db_param_traits.cc b/chrome/common/indexed_db_param_traits.cc
index fd47ecfb8bab98afae0bb1f3f2fcb312cacfaa45..3bab96e6ffb1ccf480739c92613502492d98d5c4 100644
--- a/chrome/common/indexed_db_param_traits.cc
+++ b/chrome/common/indexed_db_param_traits.cc
@@ -58,7 +58,7 @@ bool ParamTraits<IndexedDBKey>::Read(const Message* m,
param_type* r) {
int type;
string16 string;
- int32 number;
+ double number;
bool ok =
ReadParam(m, iter, &type) &&
ReadParam(m, iter, &string) &&

Powered by Google App Engine
This is Rietveld 408576698