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

Issue 257363002: Added addXSLStyleSheet and removeXSLStyleSheet to StyleEngine. (Closed)

Created:
6 years, 7 months ago by tasak
Modified:
6 years, 6 months ago
CC:
adamk+blink_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Visibility:
Public.

Description

Added addXSLStyleSheet and removeXSLStyleSheet to StyleEngine. To apply XSLStyleSheet, we only need the first one. We don't need to have all XSL stylesheets if the XML document has more than two XSL stylesheets. So modified not to add XSLStyleSheet to StyleSheetCandidateNodes. Instead, modified to make StyleEngine have the first XSLStyleSheet. BUG=367689 TEST=No new test, because this patch is just for refactoring. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175775

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -23 lines) Patch
M Source/core/dom/DocumentStyleSheetCollection.cpp View 1 2 1 chunk +1 line, -15 lines 0 comments Download
M Source/core/dom/ProcessingInstruction.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/dom/ProcessingInstruction.cpp View 1 2 3 chunks +17 lines, -7 lines 0 comments Download
M Source/core/dom/StyleEngine.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 2 6 chunks +50 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
tasak
Would you review this CL?
6 years, 7 months ago (2014-05-01 08:26:57 UTC) #1
esprehn
https://codereview.chromium.org/257363002/diff/30001/Source/core/dom/StyleEngine.cpp File Source/core/dom/StyleEngine.cpp (right): https://codereview.chromium.org/257363002/diff/30001/Source/core/dom/StyleEngine.cpp#newcode318 Source/core/dom/StyleEngine.cpp:318: void StyleEngine::addXSLStyleSheet(Node* node, bool createdByParser) This should just take ...
6 years, 7 months ago (2014-05-22 18:32:19 UTC) #2
tasak
Thank you for reviewing. https://codereview.chromium.org/257363002/diff/30001/Source/core/dom/StyleEngine.cpp File Source/core/dom/StyleEngine.cpp (right): https://codereview.chromium.org/257363002/diff/30001/Source/core/dom/StyleEngine.cpp#newcode318 Source/core/dom/StyleEngine.cpp:318: void StyleEngine::addXSLStyleSheet(Node* node, bool createdByParser) ...
6 years, 7 months ago (2014-05-27 06:17:29 UTC) #3
esprehn
lgtm, that destructor code makes no sense at all though, you're never inDocument() when your ...
6 years, 6 months ago (2014-06-06 01:32:55 UTC) #4
tasak
Thank you for reviewing. I added FIXME comment to ~ProcessingInstruction. I think, we need to ...
6 years, 6 months ago (2014-06-09 04:04:57 UTC) #5
tasak
The CQ bit was checked by tasak@google.com
6 years, 6 months ago (2014-06-09 04:05:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tasak@google.com/257363002/100006
6 years, 6 months ago (2014-06-09 04:06:00 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-09 05:11:49 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 05:47:28 UTC) #9
Message was sent while issue was closed.
Change committed as 175775

Powered by Google App Engine
This is Rietveld 408576698