#include "core/fetch/FetchContext.h"
-namespace WebCore {
+namespace blink {
FetchContext& FetchContext::nullInstance()
{
- DEFINE_STATIC_LOCAL(FetchContext, instance, ());
- return instance;
+ DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<FetchContext>, instance, (adoptPtrWillBeNoop(new FetchContext())));
+ return *instance;
}
void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoadPriority, int)
{
}
-void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const ResourceError&)
+void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const ResourceError&, bool)
{
}
{
}
-} // namespace WebCore
+} // namespace blink