Index: media/base/media_format.cc |
diff --git a/media/base/media_format.cc b/media/base/media_format.cc |
index 37371c5a1e16292d740d134944dbee17d4b5bc8b..80c60e089453894f0db2c11fd80a7d79240e810f 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, |