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

Unified Diff: chrome/common/json_value_serializer_unittest.cc

Issue 6248026: Rename Real* to Double* in values.* and dependent files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames Created 9 years, 11 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
« no previous file with comments | « chrome/common/json_schema_validator_unittest_base.cc ('k') | chrome/renderer/dom_ui_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/json_value_serializer_unittest.cc
diff --git a/chrome/common/json_value_serializer_unittest.cc b/chrome/common/json_value_serializer_unittest.cc
index b3f3e0d3f7853e4b6e0e7bf74b767529afcf3f76..ac897cd0f7a8bd387b49177e3336dd52e3d2c7d2 100644
--- a/chrome/common/json_value_serializer_unittest.cc
+++ b/chrome/common/json_value_serializer_unittest.cc
@@ -39,7 +39,7 @@ TEST(JSONValueSerializerTest, Roundtrip) {
ASSERT_EQ(42, int_value);
double real_value = 0.0;
- ASSERT_TRUE(root_dict->GetReal("real", &real_value));
+ ASSERT_TRUE(root_dict->GetDouble("real", &real_value));
arv (Not doing code reviews) 2011/01/31 22:54:13 Renamed string locally
tony 2011/01/31 23:00:13 OK.
ASSERT_DOUBLE_EQ(3.14, real_value);
// We shouldn't be able to write using this serializer, since it was
« no previous file with comments | « chrome/common/json_schema_validator_unittest_base.cc ('k') | chrome/renderer/dom_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698