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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2403973002: use IsHLSURL() instead of IsHLSPath() (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index 7c67743e982b430e3c7794a1e1d2a3310806ee3c..e9d46747d12deeced3d6d57c6a3e35c544ac2eb3 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -1367,7 +1367,7 @@ void WebMediaPlayerImpl::DataSourceInitialized(bool success) {
// MediaPlayer within a Mojo media renderer. http://crbug.com/580626
if (data_source_) {
const GURL url_after_redirects = data_source_->GetUrlAfterRedirects();
- if (MediaCodecUtil::IsHLSPath(url_after_redirects)) {
+ if (MediaCodecUtil::IsHLSURL(url_after_redirects)) {
client_->requestReload(url_after_redirects);
// |this| may be destructed, do nothing after this.
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698