| Index: content/renderer/media/webcontentdecryptionmodule_impl.cc
|
| diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.cc b/content/renderer/media/webcontentdecryptionmodule_impl.cc
|
| index 0c4a901f74699a0c95c4910edb4624297f445a86..a9b201fbc13278ef319526c73ae64eb7f7edff4f 100644
|
| --- a/content/renderer/media/webcontentdecryptionmodule_impl.cc
|
| +++ b/content/renderer/media/webcontentdecryptionmodule_impl.cc
|
| @@ -28,18 +28,12 @@ class WebFrame;
|
| namespace content {
|
|
|
| WebContentDecryptionModuleImpl* WebContentDecryptionModuleImpl::Create(
|
| - const base::string16& key_system) {
|
| - blink::WebSecurityOrigin no_origin;
|
| - return WebContentDecryptionModuleImpl::Create(NULL, no_origin, key_system);
|
| -}
|
| -
|
| -WebContentDecryptionModuleImpl* WebContentDecryptionModuleImpl::Create(
|
| blink::WebFrame* frame,
|
| const blink::WebSecurityOrigin& security_origin,
|
| const base::string16& key_system) {
|
| // TODO(jrummell): Use |security_origin| rather than using the document URL.
|
| - // TODO(jrummell): Once the other Create() method is removed, validate |frame|
|
| - // and |security_origin|.
|
| + DCHECK(frame);
|
| + DCHECK(!security_origin.isNull());
|
| DCHECK(!key_system.empty());
|
|
|
| // TODO(ddorwin): Guard against this in supported types check and remove this.
|
|
|