| Index: media/blink/webcontentdecryptionmodule_impl.cc
|
| diff --git a/media/blink/webcontentdecryptionmodule_impl.cc b/media/blink/webcontentdecryptionmodule_impl.cc
|
| index b54ebe2e8c0da6808004f6fc20017285bc5e2dcc..283ac61c5c8c14098d0b8fc377c7d3fb240c54e3 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
|
|
|