Index: Source/core/fetch/FetchContext.cpp |
diff --git a/Source/core/fetch/FetchContext.cpp b/Source/core/fetch/FetchContext.cpp |
index 18c6943e26e177af739016aa4b40174385fa88fc..e95ce8eb59415ba23279adb94a81d8adf2b9a424 100644 |
--- a/Source/core/fetch/FetchContext.cpp |
+++ b/Source/core/fetch/FetchContext.cpp |
@@ -36,8 +36,8 @@ 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) |