Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: components/html_viewer/html_frame.cc

Issue 1648653002: Carry WebMediaSession in WebMediaPlayerParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/html_viewer/media_factory.cc » ('j') | media/blink/webmediaplayer_params.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame.cc
diff --git a/components/html_viewer/html_frame.cc b/components/html_viewer/html_frame.cc
index 9cd02558e509a0752bfb304ed874baeb099e6565..7098fd0263b8585bd7ef3b1037a0776dc00502a2 100644
--- a/components/html_viewer/html_frame.cc
+++ b/components/html_viewer/html_frame.cc
@@ -319,7 +319,8 @@ blink::WebMediaPlayer* HTMLFrame::createMediaPlayer(
const blink::WebString& sink_id,
blink::WebMediaSession* media_session) {
return global_state()->media_factory()->CreateMediaPlayer(
- frame, url, client, encrypted_client, initial_cdm, GetApp()->shell());
+ frame, url, client, encrypted_client, initial_cdm, media_session,
+ GetApp()->shell());
}
blink::WebFrame* HTMLFrame::createChildFrame(
« no previous file with comments | « no previous file | components/html_viewer/media_factory.cc » ('j') | media/blink/webmediaplayer_params.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698