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