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

Issue 73293003: Moved setting of visual ordering from DocumentWriter to DecodedDataDocument (Closed)

Created:
7 years, 1 month ago by oystein (OOO til 10th of July)
Modified:
7 years, 1 month ago
CC:
blink-reviews, philipj_slow, eae+blinkwatch, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@parserthread_decoderownership
Visibility:
Public.

Description

Moved setting of visual ordering from DocumentWriter to DecodedDataDocument This means DocumentParser::appendBytes and DocumentParser::flush don't need to return the number of bytes decoded anymore, which is another step on the way to be able to do the decoding on the parser thread, and additionally cleans the code up a bit. Builds on https://codereview.chromium.org/69823002/ BUG=277886 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162262

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Added FIXME #

Total comments: 2

Patch Set 5 : Rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -69 lines) Patch
M Source/core/dom/DecodedDataDocumentParser.h View 1 2 2 chunks +5 lines, -3 lines 1 comment Download
M Source/core/dom/DecodedDataDocumentParser.cpp View 1 2 3 2 chunks +27 lines, -25 lines 0 comments Download
M Source/core/dom/DocumentParser.h View 1 2 1 chunk +3 lines, -2 lines 2 comments Download
M Source/core/dom/RawDataDocumentParser.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/ImageDocument.cpp View 2 chunks +4 lines, -5 lines 0 comments Download
M Source/core/html/MediaDocument.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M Source/core/html/PluginDocument.cpp View 2 chunks +3 lines, -5 lines 0 comments Download
M Source/core/loader/DocumentWriter.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/loader/DocumentWriter.cpp View 1 2 5 chunks +4 lines, -19 lines 0 comments Download
M Source/core/loader/SinkDocument.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
oystein (OOO til 10th of July)
7 years, 1 month ago (2013-11-15 03:10:45 UTC) #1
eseidel
So all this hackery is just for ISO-8859-8? https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/wtf/text/TextEncoding.cpp&q=usesVisualOrdering&sq=package:chromium&type=cs&l=123 Are we sure we even hit ...
7 years, 1 month ago (2013-11-15 03:43:30 UTC) #2
oystein (OOO til 10th of July)
On 2013/11/15 03:43:30, eseidel wrote: > So all this hackery is just for ISO-8859-8? > ...
7 years, 1 month ago (2013-11-15 18:34:25 UTC) #3
eseidel
I filed https://code.google.com/p/chromium/issues/detail?id=319643. No clue if that's reasonable or not. :)
7 years, 1 month ago (2013-11-15 18:53:14 UTC) #4
oystein (OOO til 10th of July)
On 2013/11/15 18:53:14, eseidel wrote: > I filed https://code.google.com/p/chromium/issues/detail?id=319643. No clue if > that's reasonable ...
7 years, 1 month ago (2013-11-15 23:39:26 UTC) #5
eseidel
I think this patch is OK, but we can also just wait until Tuesday when ...
7 years, 1 month ago (2013-11-16 07:41:18 UTC) #6
oystein (OOO til 10th of July)
On 2013/11/16 07:41:18, eseidel wrote: > I think this patch is OK, but we can ...
7 years, 1 month ago (2013-11-16 22:09:19 UTC) #7
oystein (OOO til 10th of July)
https://codereview.chromium.org/73293003/diff/90001/Source/core/dom/DecodedDataDocumentParser.cpp File Source/core/dom/DecodedDataDocumentParser.cpp (right): https://codereview.chromium.org/73293003/diff/90001/Source/core/dom/DecodedDataDocumentParser.cpp#newcode104 Source/core/dom/DecodedDataDocumentParser.cpp:104: if (!m_hasAppendedData) { On 2013/11/16 07:41:19, eseidel wrote: > ...
7 years, 1 month ago (2013-11-18 23:04:58 UTC) #8
eseidel
https://codereview.chromium.org/73293003/diff/160001/Source/core/dom/DecodedDataDocumentParser.cpp File Source/core/dom/DecodedDataDocumentParser.cpp (right): https://codereview.chromium.org/73293003/diff/160001/Source/core/dom/DecodedDataDocumentParser.cpp#newcode57 Source/core/dom/DecodedDataDocumentParser.cpp:57: m_hasAppendedData = true; This bool is really "have checked ...
7 years, 1 month ago (2013-11-18 23:44:58 UTC) #9
eseidel
lgtm This all looks fine. Visual Hebrew is just insane. https://codereview.chromium.org/73293003/diff/180001/Source/core/dom/DecodedDataDocumentParser.h File Source/core/dom/DecodedDataDocumentParser.h (right): https://codereview.chromium.org/73293003/diff/180001/Source/core/dom/DecodedDataDocumentParser.h#newcode47 ...
7 years, 1 month ago (2013-11-18 23:46:08 UTC) #10
oystein (OOO til 10th of July)
https://codereview.chromium.org/73293003/diff/180001/Source/core/dom/DocumentParser.h File Source/core/dom/DocumentParser.h (right): https://codereview.chromium.org/73293003/diff/180001/Source/core/dom/DocumentParser.h#newcode57 Source/core/dom/DocumentParser.h:57: virtual void setHasAppendedData() { } On 2013/11/18 23:46:08, eseidel ...
7 years, 1 month ago (2013-11-18 23:51:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/73293003/180001
7 years, 1 month ago (2013-11-18 23:58:57 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-19 01:53:53 UTC) #13
Message was sent while issue was closed.
Change committed as 162262

Powered by Google App Engine
This is Rietveld 408576698