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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1881733004: MSE, MS, and any blob URL: Ignore preload 'none' on resource fetching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes indentation in test script 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 2d84e10503d87820f00dd1cdd9fbc8d8c0b20027..8a7762fe3abf71522413f9c70e2f54e6f5c7db4e 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -1095,7 +1095,7 @@ void HTMLMediaElement::loadResource(const WebMediaPlayerSource& source, ContentT
if (attemptLoad && canLoadResource) {
ASSERT(!webMediaPlayer());
- if (effectivePreloadType() == WebMediaPlayer::PreloadNone) {
+ if (!m_mediaSource && effectivePreloadType() == WebMediaPlayer::PreloadNone) {
philipj_slow 2016/04/14 12:39:27 I would like it very much if this matched the beha
wolenetz 2016/04/21 21:37:30 I've added isObjectOrBlobURL usage here, but addin
WTF_LOG(Media, "HTMLMediaElement::loadResource(%p) : Delaying load because preload == 'none'", this);
deferLoad();
} else {

Powered by Google App Engine
This is Rietveld 408576698