diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-30 05:24:07 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-30 05:24:07 +0000 |
commit | 4038a13d4bc51d5bca8d91443c1cf0952a7fcddf (patch) | |
tree | 09c039414ccaccaee190038a37707031c37495fd /ipc/ipc_message_utils.cc | |
parent | b5365e7b8c2ed0184019797039cf4faaaf44dd99 (diff) | |
download | chromium_src-4038a13d4bc51d5bca8d91443c1cf0952a7fcddf.zip chromium_src-4038a13d4bc51d5bca8d91443c1cf0952a7fcddf.tar.gz chromium_src-4038a13d4bc51d5bca8d91443c1cf0952a7fcddf.tar.bz2 |
ipc: Do not use Value::Create* functions.
BUG=160586
R=darin@chromium.org,estade@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12079026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils.cc')
-rw-r--r-- | ipc/ipc_message_utils.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc index 432853c..a4beb0e 100644 --- a/ipc/ipc_message_utils.cc +++ b/ipc/ipc_message_utils.cc @@ -178,28 +178,28 @@ bool ReadValue(const Message* m, PickleIterator* iter, Value** value, bool val; if (!ReadParam(m, iter, &val)) return false; - *value = Value::CreateBooleanValue(val); + *value = new base::FundamentalValue(val); break; } case Value::TYPE_INTEGER: { int val; if (!ReadParam(m, iter, &val)) return false; - *value = Value::CreateIntegerValue(val); + *value = new base::FundamentalValue(val); break; } case Value::TYPE_DOUBLE: { double val; if (!ReadParam(m, iter, &val)) return false; - *value = Value::CreateDoubleValue(val); + *value = new base::FundamentalValue(val); break; } case Value::TYPE_STRING: { std::string val; if (!ReadParam(m, iter, &val)) return false; - *value = Value::CreateStringValue(val); + *value = new base::StringValue(val); break; } case Value::TYPE_BINARY: { |