| Index: components/html_viewer/html_document.cc
|
| diff --git a/components/html_viewer/html_document.cc b/components/html_viewer/html_document.cc
|
| index 227dae3280360905fbce1ceccaabcbc185e17b14..8ea66168bf06b0cb15b163a86adaf34881fe9bd1 100644
|
| --- a/components/html_viewer/html_document.cc
|
| +++ b/components/html_viewer/html_document.cc
|
| @@ -328,7 +328,8 @@ void HTMLDocument::didNavigateWithinPage(
|
| blink::WebEncryptedMediaClient* HTMLDocument::encryptedMediaClient() {
|
| if (!web_encrypted_media_client_) {
|
| web_encrypted_media_client_.reset(new media::WebEncryptedMediaClientImpl(
|
| - GetCdmFactory(), GetMediaPermission()));
|
| + base::Bind(&AreSecureSurfacesSupported), GetCdmFactory(),
|
| + GetMediaPermission()));
|
| }
|
| return web_encrypted_media_client_.get();
|
| }
|
| @@ -382,4 +383,9 @@ media::CdmFactory* HTMLDocument::GetCdmFactory() {
|
| return cdm_factory_.get();
|
| }
|
|
|
| +bool AreSecureSurfacesSupported() {
|
| + // Not currently supported by HTML Viewer.
|
| + return false;
|
| +}
|
| +
|
| } // namespace html_viewer
|
|
|