diff options
Diffstat (limited to 'Source/WebCore/html/parser/HTMLDocumentParser.cpp')
-rw-r--r-- | Source/WebCore/html/parser/HTMLDocumentParser.cpp | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Source/WebCore/html/parser/HTMLDocumentParser.cpp b/Source/WebCore/html/parser/HTMLDocumentParser.cpp index 843df45..e79a97a 100644 --- a/Source/WebCore/html/parser/HTMLDocumentParser.cpp +++ b/Source/WebCore/html/parser/HTMLDocumentParser.cpp @@ -341,25 +341,14 @@ void HTMLDocumentParser::append(const SegmentedString& source) if (m_preloadScanner) m_preloadScanner->appendToEnd(source); -<<<<<<< HEAD - if (m_writeNestingLevel > 1) { - // We've gotten data off the network in a nested write. - // We don't want to consume any more of the input stream now. Do - // not worry. We'll consume this data in a less-nested write(). -#ifdef ANDROID_INSTRUMENT - android::TimeCounter::record(android::TimeCounter::ParsingTimeCounter, __FUNCTION__); -#endif - return; - } - - pumpTokenizerIfPossible(AllowYield); -======= if (inPumpSession()) { // We've gotten data off the network in a nested write. // We don't want to consume any more of the input stream now. Do // not worry. We'll consume this data in a less-nested write(). +#ifdef ANDROID_INSTRUMENT + android::TimeCounter::record(android::TimeCounter::ParsingTimeCounter, __FUNCTION__); +#endif return; ->>>>>>> WebKit at r80534 } pumpTokenizerIfPossible(AllowYield); |