Bug 515001 - Open media channels with BYPASS_LOCAL_CACHE_IF_BUSY. r=roc

This commit is contained in:
Chris Double 2010-03-18 16:00:18 +13:00
Родитель de68e327ab
Коммит 3983e1190a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -80,6 +80,7 @@
#include "nsContentErrors.h"
#include "nsCrossSiteListenerProxy.h"
#include "nsCycleCollectionParticipant.h"
#include "nsICachingChannel.h"
#include "nsLayoutUtils.h"
#include "nsVideoFrame.h"
#include "BasicLayers.h"
@ -640,7 +641,7 @@ nsresult nsHTMLMediaElement::LoadResource(nsIURI* aURI)
nsnull,
loadGroup,
nsnull,
nsIRequest::LOAD_NORMAL);
nsICachingChannel::LOAD_BYPASS_LOCAL_CACHE_IF_BUSY);
NS_ENSURE_SUCCESS(rv,rv);
// The listener holds a strong reference to us. This creates a reference