From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/parser/HTMLParserScheduler.cpp | 27 ++++------------------ 1 file changed, 4 insertions(+), 23 deletions(-) (limited to 'Source/WebCore/html/parser/HTMLParserScheduler.cpp') diff --git a/Source/WebCore/html/parser/HTMLParserScheduler.cpp b/Source/WebCore/html/parser/HTMLParserScheduler.cpp index 974fcbec9..28337d86d 100644 --- a/Source/WebCore/html/parser/HTMLParserScheduler.cpp +++ b/Source/WebCore/html/parser/HTMLParserScheduler.cpp @@ -32,11 +32,6 @@ #include "HTMLDocumentParser.h" #include "Page.h" -// defaultParserChunkSize is used to define how many tokens the parser will -// process before checking against parserTimeLimit and possibly yielding. -// This is a performance optimization to prevent checking after every token. -static const int defaultParserChunkSize = 4096; - // defaultParserTimeLimit is the seconds the parser will run in one write() call // before yielding. Inline