| Index: media/blink/webcontentdecryptionmodule_impl.cc
|
| diff --git a/media/blink/webcontentdecryptionmodule_impl.cc b/media/blink/webcontentdecryptionmodule_impl.cc
|
| index 727f4d0be496b3b7f734bca538990ad82958a5b7..d6974c8b9005e2e351e9b792e954213277cb4466 100644
|
| --- a/media/blink/webcontentdecryptionmodule_impl.cc
|
| +++ b/media/blink/webcontentdecryptionmodule_impl.cc
|
| @@ -21,6 +21,7 @@
|
| #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "url/gurl.h"
|
| +#include "url/origin.h"
|
|
|
| namespace media {
|
|
|
| @@ -63,8 +64,7 @@ void WebContentDecryptionModuleImpl::Create(
|
| return;
|
| }
|
|
|
| - GURL security_origin_as_gurl(
|
| - blink::WebStringToGURL(security_origin.toString()));
|
| + GURL security_origin_as_gurl(url::Origin(security_origin).GetURL());
|
|
|
| // CdmSessionAdapter::CreateCdm() will keep a reference to |adapter|. Then
|
| // if WebContentDecryptionModuleImpl is successfully created (returned in
|
|
|