Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
index 6630e9b8d804d65e8cf48e8f5442a477a32632c0..ff2440b743be8cb317de7c30c52d08a254af3a09 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -309,13 +309,10 @@ |
return m_documentLoader == frame()->loader().documentLoader(); |
} |
-void FrameFetchContext::willStartLoadingResource(ResourceRequest& request, FetchResourceType type) |
-{ |
- if (!m_documentLoader) |
- return; |
- if (type == FetchMainResource) |
- m_documentLoader->applicationCacheHost()->willStartLoadingMainResource(request); |
- m_documentLoader->applicationCacheHost()->willStartLoadingResource(request); |
+void FrameFetchContext::willStartLoadingResource(ResourceRequest& request) |
+{ |
+ if (m_documentLoader) |
+ m_documentLoader->applicationCacheHost()->willStartLoadingResource(request); |
} |
void FrameFetchContext::didLoadResource() |