summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message_utils.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
commitfb534c949f92bec8c6312b58ffcc04c5dc488f2d (patch)
tree84384bdb8b06e62662ce1a5e9619ae455e9a69a8 /ipc/ipc_message_utils.cc
parentefeb669b05db99c54309771e4884b1a17d604a37 (diff)
downloadchromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.zip
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.gz
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.bz2
Rename Real* to Double* in values.* and dependent files
BUG=None TEST=Compiles and passes all tests Review URL: http://codereview.chromium.org/6248026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils.cc')
-rw-r--r--ipc/ipc_message_utils.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index f25d4f9..5216a86 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -49,9 +49,9 @@ static void WriteValue(Message* m, const Value* value, int recursion) {
WriteParam(m, val);
break;
}
- case Value::TYPE_REAL: {
+ case Value::TYPE_DOUBLE: {
double val;
- value->GetAsReal(&val);
+ value->GetAsDouble(&val);
WriteParam(m, val);
break;
}
@@ -166,11 +166,11 @@ static bool ReadValue(const Message* m, void** iter, Value** value,
*value = Value::CreateIntegerValue(val);
break;
}
- case Value::TYPE_REAL: {
+ case Value::TYPE_DOUBLE: {
double val;
if (!ReadParam(m, iter, &val))
return false;
- *value = Value::CreateRealValue(val);
+ *value = Value::CreateDoubleValue(val);
break;
}
case Value::TYPE_STRING: {