Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp

Issue 1444413002: Revert of Simplify starting a navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698