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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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/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 d2e0a7e3f7aa3a86aab558456fe3323f824674e7..87ec8bce3d4b4aecf4bc6cdc683ea962944e3122 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -831,14 +831,20 @@ void HTMLDocumentParser::startBackgroundParser() {
config->decoder = takeDecoder();
config->tokenizedChunkQueue = m_tokenizedChunkQueue.get();
if (document()->settings()) {
- if (document()->settings()->backgroundHtmlParserOutstandingTokenLimit())
+ if (document()
+ ->settings()
+ ->GetBackgroundHtmlParserOutstandingTokenLimit()) {
config->outstandingTokenLimit =
- document()->settings()->backgroundHtmlParserOutstandingTokenLimit();
- if (document()->settings()->backgroundHtmlParserPendingTokenLimit())
+ document()
+ ->settings()
+ ->GetBackgroundHtmlParserOutstandingTokenLimit();
+ }
+ if (document()->settings()->GetBackgroundHtmlParserPendingTokenLimit()) {
config->pendingTokenLimit =
- document()->settings()->backgroundHtmlParserPendingTokenLimit();
+ document()->settings()->GetBackgroundHtmlParserPendingTokenLimit();
+ }
config->shouldCoalesceChunks =
- document()->settings()->parseHTMLOnMainThreadCoalesceChunks();
+ document()->settings()->GetParseHTMLOnMainThreadCoalesceChunks();
}
ASSERT(config->xssAuditor->isSafeToSendToAnotherThread());
@@ -1156,7 +1162,7 @@ void HTMLDocumentParser::appendBytes(const char* data, size_t length) {
LookaheadParserTaskSynchrony policy =
document()->settings() &&
- document()->settings()->parseHTMLOnMainThreadSyncTokenize()
+ document()->settings()->GetParseHTMLOnMainThreadSyncTokenize()
? Synchronous
: Asynchronous;
postTaskToLookaheadParser(

Powered by Google App Engine
This is Rietveld 408576698