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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2790323003: Revert of Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: Created 3 years, 8 months 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
« no previous file with comments | « chrome/test/data/prerender/prefetch_appcache.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index e789a2c9b807d0a5d8e8c10868f5f5404a77b5c9..8d547ddac7ced7b1931964db98ce1da9afc05b39 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -883,10 +883,6 @@
const SegmentedString source(inputSource);
if (document()->isPrefetchOnly()) {
- // Do not prefetch if there is an appcache.
- if (document()->loader()->response().appCacheID() != 0)
- return;
-
if (!m_preloadScanner)
m_preloadScanner = createPreloadScanner();
« no previous file with comments | « chrome/test/data/prerender/prefetch_appcache.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698