| Index: webkit/media/crypto/key_systems.cc
|
| diff --git a/webkit/media/crypto/key_systems.cc b/webkit/media/crypto/key_systems.cc
|
| index b9c79d0181d25b4c588228bfb38c772ac72371ca..0ffe95198592fc5cad7d852657c4a8c2212fbe36 100644
|
| --- a/webkit/media/crypto/key_systems.cc
|
| +++ b/webkit/media/crypto/key_systems.cc
|
| @@ -66,7 +66,7 @@ KeySystems::KeySystems() {
|
| for (size_t j = 0; j < mime_type_codecs.size(); ++j)
|
| codecs.insert(mime_type_codecs[j]);
|
| // Support the MIME type string alone, without codec(s) specified.
|
| - codecs.insert("");
|
| + codecs.insert(std::string());
|
|
|
| // Key systems can be repeated, so there may already be an entry.
|
| KeySystemMappings::iterator key_system_iter =
|
| @@ -113,7 +113,8 @@ bool KeySystems::IsSupportedKeySystemWithMediaMimeType(
|
| const std::vector<std::string>& codecs,
|
| const std::string& key_system) {
|
| if (codecs.empty())
|
| - return IsSupportedKeySystemWithContainerAndCodec(mime_type, "", key_system);
|
| + return IsSupportedKeySystemWithContainerAndCodec(
|
| + mime_type, std::string(), key_system);
|
|
|
| for (size_t i = 0; i < codecs.size(); ++i) {
|
| if (!IsSupportedKeySystemWithContainerAndCodec(
|
|
|