Chromium Code Reviews

Unified Diff: Source/core/html/parser/HTMLPreloadScanner.h

Issue 673603002: Reland: Make the HTMLDocumentParser yield more aggressively (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/html/parser/HTMLParserScheduler.h ('k') | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLPreloadScanner.h
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h
index 044e8d59fb2e1226d925c9dc636f1d1854e937d4..e75d1f829a6420dd483b6404190f14b67c283a98 100644
--- a/Source/core/html/parser/HTMLPreloadScanner.h
+++ b/Source/core/html/parser/HTMLPreloadScanner.h
@@ -74,10 +74,11 @@ private:
void updatePredictedBaseURL(const Token&);
struct Checkpoint {
- Checkpoint(const KURL& predictedBaseElementURL, bool inStyle, bool isAppCacheEnabled, size_t templateCount)
+ Checkpoint(const KURL& predictedBaseElementURL, bool inStyle, bool isAppCacheEnabled, bool isCSPEnabled, size_t templateCount)
kouhei (in TOK) 2014/11/19 04:42:54 Please ignore these changes in preloader. These ar
: predictedBaseElementURL(predictedBaseElementURL)
, inStyle(inStyle)
, isAppCacheEnabled(isAppCacheEnabled)
+ , isCSPEnabled(isCSPEnabled)
, templateCount(templateCount)
{
}
@@ -85,6 +86,7 @@ private:
KURL predictedBaseElementURL;
bool inStyle;
bool isAppCacheEnabled;
+ bool isCSPEnabled;
size_t templateCount;
};
@@ -94,6 +96,7 @@ private:
bool m_inStyle;
bool m_inPicture;
bool m_isAppCacheEnabled;
+ bool m_isCSPEnabled;
String m_pictureSourceURL;
size_t m_templateCount;
RefPtr<MediaValues> m_mediaValues;
« no previous file with comments | « Source/core/html/parser/HTMLParserScheduler.h ('k') | Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine