| Index: Source/core/fetch/ResourceFetcher.h
|
| diff --git a/Source/core/fetch/ResourceFetcher.h b/Source/core/fetch/ResourceFetcher.h
|
| index a661428051edad549667a15ff83a87ea33b8d92a..28f39792aefdf38b2e8ac7f22210b770b4675c7a 100644
|
| --- a/Source/core/fetch/ResourceFetcher.h
|
| +++ b/Source/core/fetch/ResourceFetcher.h
|
| @@ -105,7 +105,8 @@ public:
|
|
|
| bool shouldDeferImageLoad(const KURL&) const;
|
|
|
| - FetchContext& context() const { return *m_context.get(); }
|
| + FetchContext& context() const { return m_context ? *m_context.get() : FetchContext::nullInstance(); }
|
| + void clearContext() { m_context.clear(); }
|
|
|
| void garbageCollectDocumentResources();
|
|
|
|
|