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

Issue 129123002: Revert of "Revert of Moved text decoding to the parser thread" (Closed)

Created:
6 years, 11 months ago by oystein (OOO til 10th of July)
Modified:
6 years, 11 months ago
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, caseq+blink_chromium.org, bemjb+rendering_chromium.org, yurys+blink_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jchaffraix+rendering, devtools-reviews_chromium.org, nessy, loislo+blink_chromium.org, zoltan1, sof, lushnikov+blink_chromium.org, kinuko, eustas+blink_chromium.org, paulirish+reviews_chromium.org, Nate Chapin, vcarbune.chromium, philipj_slow, alph+blink_chromium.org, gasubic, leviw+renderwatch, vsevik+blink_chromium.org, pfeldman+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Revert of "Revert of Moved text decoding to the parser thread" Reverts https://codereview.chromium.org/118573002/ and adds a crash fix. Original commit message: >>Moved text decoding to the parser thread. >>When the HTTPDocumentParser defers the document parsing to the background parser thread, it'll now also pass ownership of its TextResourceDecoder so the parser thread can do the decoding as well. R=abarth@chromium.org,eseidel@chromium.org BUG=277886 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164797

Patch Set 1 : #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -815 lines) Patch
M Source/core/core.gypi View 1 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/DecodedDataDocumentParser.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M Source/core/dom/DecodedDataDocumentParser.cpp View 4 chunks +11 lines, -19 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 5 chunks +14 lines, -13 lines 0 comments Download
M Source/core/dom/DocumentEncodingData.h View 1 chunk +21 lines, -9 lines 0 comments Download
A + Source/core/dom/DocumentEncodingData.cpp View 1 1 chunk +11 lines, -18 lines 0 comments Download
M Source/core/dom/DocumentParser.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/CSSStyleSheetResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/DocumentResource.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/FontResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ScriptResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ShaderResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
D Source/core/fetch/TextResourceDecoder.h View 1 chunk +0 lines, -105 lines 0 comments Download
D Source/core/fetch/TextResourceDecoder.cpp View 1 chunk +0 lines, -437 lines 0 comments Download
M Source/core/fetch/XSLStyleSheetResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fileapi/FileReaderLoader.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
Source/core/html/HTMLBaseElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/BackgroundHTMLParser.h View 6 chunks +11 lines, -8 lines 0 comments Download
M Source/core/html/parser/BackgroundHTMLParser.cpp View 4 chunks +44 lines, -0 lines 0 comments Download
M Source/core/html/parser/CSSPreloadScanner.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/parser/HTMLDocumentParser.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLDocumentParser.cpp View 5 chunks +51 lines, -14 lines 0 comments Download
M Source/core/html/parser/HTMLMetaCharsetParser.h View 1 chunk +0 lines, -12 lines 0 comments Download
M Source/core/html/parser/HTMLMetaCharsetParser.cpp View 3 chunks +9 lines, -89 lines 0 comments Download
M Source/core/html/parser/HTMLParserIdioms.h View 2 chunks +8 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLParserIdioms.cpp View 2 chunks +90 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLPreloadScanner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLTokenizer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLTokenizer.cpp View 2 chunks +11 lines, -10 lines 0 comments Download
M Source/core/html/parser/HTMLViewSourceParser.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/html/parser/TextDocumentParser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/TextDocumentParser.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/core/html/parser/TextResourceDecoder.h View 2 chunks +2 lines, -1 line 0 comments Download
A + Source/core/html/parser/TextResourceDecoder.cpp View 7 chunks +12 lines, -12 lines 0 comments Download
M Source/core/html/parser/XSSAuditor.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/parser/XSSAuditor.cpp View 1 5 chunks +32 lines, -22 lines 0 comments Download
M Source/core/html/track/vtt/VTTParser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorFileSystemAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorFrontendHost.cpp View 1 chunk +1 line, -1 line 0 comments Download
Source/core/inspector/InspectorPageAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
Source/core/inspector/NetworkResourcesData.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/DocumentWriter.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/loader/TextResourceDecoderBuilder.h View 1 chunk +1 line, -1 line 0 comments Download
Source/core/page/EventSource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/PageSerializer.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderText.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerScriptLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XSLTProcessor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
oystein (OOO til 10th of July)
abarth: My original CL caused a crash when BackgroundHTMLParser::appendBytes() got called without a decoder being ...
6 years, 11 months ago (2014-01-08 19:45:50 UTC) #1
eseidel
The revert of the revert is confusing. If you want to do that, I'd land ...
6 years, 11 months ago (2014-01-09 00:40:21 UTC) #2
oystein (OOO til 10th of July)
On 2014/01/09 00:40:21, eseidel wrote: > The revert of the revert is confusing. If you ...
6 years, 11 months ago (2014-01-09 00:55:11 UTC) #3
abarth-chromium
LGTM I didn't re-review the entire CL, but I did look at the one line ...
6 years, 11 months ago (2014-01-09 06:07:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/129123002/80001
6 years, 11 months ago (2014-01-09 17:30:49 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/DecodedDataDocumentParser.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-09 17:31:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/129123002/150001
6 years, 11 months ago (2014-01-09 18:31:12 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 19:49:27 UTC) #8
Message was sent while issue was closed.
Change committed as 164797

Powered by Google App Engine
This is Rietveld 408576698