summaryrefslogtreecommitdiffstats
path: root/media/base
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 /media/base
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 'media/base')
-rw-r--r--media/base/media_format.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/base/media_format.cc b/media/base/media_format.cc
index 37371c5..80c60e0 100644
--- a/media/base/media_format.cc
+++ b/media/base/media_format.cc
@@ -92,7 +92,7 @@ void MediaFormat::SetAsInteger(const std::string& key, int in_value) {
void MediaFormat::SetAsReal(const std::string& key, double in_value) {
ReleaseValue(key);
- value_map_[key] = Value::CreateRealValue(in_value);
+ value_map_[key] = Value::CreateDoubleValue(in_value);
}
void MediaFormat::SetAsString(const std::string& key,
@@ -113,7 +113,7 @@ bool MediaFormat::GetAsInteger(const std::string& key, int* out_value) const {
bool MediaFormat::GetAsReal(const std::string& key, double* out_value) const {
Value* value = GetValue(key);
- return value != NULL && value->GetAsReal(out_value);
+ return value != NULL && value->GetAsDouble(out_value);
}
bool MediaFormat::GetAsString(const std::string& key,