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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1905133003: Fix an issue that HLS url for Azure video is not correctly detected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 5fadcf6837e27d97df027ba2cdd3a5ca5f575121..a4a6331603e9978f5c81a26475cd57b433594694 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -758,7 +758,7 @@ bool IsContentWithCertificateErrorsRelevantToUI(
// possible to load such a URL and find different content.
bool UseWebMediaPlayerImpl(const GURL& url) {
// WMPI does not support HLS.
- if (media::MediaCodecUtil::IsHLSPath(url))
+ if (media::MediaCodecUtil::IsHLSURL(url))
return false;
// Don't use WMPI if the container likely contains a codec we can't decode in
« 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