Chromium Code Reviews| 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 { |