Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: media/blink/webencryptedmediaclient_impl.cc

Issue 2584893002: Use explicit WebString <-> string16 conversion methods in media files (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/blink/webencryptedmediaclient_impl.cc
diff --git a/media/blink/webencryptedmediaclient_impl.cc b/media/blink/webencryptedmediaclient_impl.cc
index 6b3e8949884f521f8a29d7e3eed8eb2999852fda..3584f6ceb650a77aa5a963e99ecb2a65dfd98996 100644
--- a/media/blink/webencryptedmediaclient_impl.cc
+++ b/media/blink/webencryptedmediaclient_impl.cc
@@ -128,8 +128,9 @@ void WebEncryptedMediaClientImpl::CreateCdm(
const blink::WebSecurityOrigin& security_origin,
const CdmConfig& cdm_config,
std::unique_ptr<blink::WebContentDecryptionModuleResult> result) {
- WebContentDecryptionModuleImpl::Create(
- cdm_factory_, key_system, security_origin, cdm_config, std::move(result));
+ WebContentDecryptionModuleImpl::Create(cdm_factory_, key_system.utf16(),
+ security_origin, cdm_config,
+ std::move(result));
}
void WebEncryptedMediaClientImpl::OnRequestSucceeded(
« content/renderer/media/midi_message_filter.cc ('K') | « media/blink/key_system_config_selector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698