| Index: chrome/browser/media/protected_media_identifier_permission_context.cc
|
| diff --git a/chrome/browser/media/protected_media_identifier_permission_context.cc b/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| index cfe4f03e80a56bc6510dd0794f27414c1f857f2e..76623e862006b5c9c40ac092672783de3d0aabe5 100644
|
| --- a/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| +++ b/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| @@ -48,20 +48,13 @@ void ProtectedMediaIdentifierPermissionContext::
|
| RequestProtectedMediaIdentifierPermission(
|
| content::WebContents* web_contents,
|
| const GURL& origin,
|
| - base::Callback<void(bool)> result_callback,
|
| - base::Closure* cancel_callback) {
|
| + base::Callback<void(bool)> result_callback) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| if (shutting_down_)
|
| return;
|
|
|
| int render_process_id = web_contents->GetRenderProcessHost()->GetID();
|
| int render_view_id = web_contents->GetRenderViewHost()->GetRoutingID();
|
| - if (cancel_callback) {
|
| - *cancel_callback = base::Bind(
|
| - &ProtectedMediaIdentifierPermissionContext::
|
| - CancelProtectedMediaIdentifierPermissionRequests,
|
| - this, render_process_id, render_view_id, origin);
|
| - }
|
|
|
| const PermissionRequestID id(
|
| render_process_id, render_view_id, 0, origin);
|
|
|