Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(22)

Issue 1181703003: Refactoring: Move StyledMarkupAccumulator::createInlineStyle to the serializer (Closed)

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 10 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Refactoring: Move StyledMarkupAccumulator::createInlineStyle to the serializer This CL moves the function appendStartTag/Markup and createInlineStyle from StyledMarupAccumulator to StyledMarkupSerializer so that the accumulator can focus on accumulation. This CL is a split of crrev.com/1177323005/. StyledMarkupAccumulator:: wrappingStyled() is temporarily added and I plan to remove this. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197240

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : reviews #

Patch Set 4 : bug fix: rebasing failed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -53 lines) Patch
M Source/core/editing/StyledMarkupAccumulator.h View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M Source/core/editing/StyledMarkupAccumulator.cpp View 1 3 chunks +1 line, -46 lines 0 comments Download
M Source/core/editing/StyledMarkupSerializer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/editing/StyledMarkupSerializer.cpp View 1 2 3 2 chunks +49 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-16 11:58:13 UTC) #2
tkent
https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupAccumulator.h File Source/core/editing/StyledMarkupAccumulator.h (right): https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupAccumulator.h#newcode58 Source/core/editing/StyledMarkupAccumulator.h:58: PassRefPtrWillBeRawPtr<EditingStyle> wrappingStyle() const { return m_wrappingStyle; } The return ...
4 years, 10 months ago (2015-06-16 22:27:00 UTC) #3
yosin_UTC9
https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode348 Source/core/editing/StyledMarkupSerializer.cpp:348: RefPtrWillBeRawPtr<EditingStyle> style = createInlineStyle(accumulator, element); nit: better to use ...
4 years, 10 months ago (2015-06-17 01:07:31 UTC) #4
hajimehoshi
Thank you! https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupAccumulator.h File Source/core/editing/StyledMarkupAccumulator.h (right): https://codereview.chromium.org/1181703003/diff/1/Source/core/editing/StyledMarkupAccumulator.h#newcode58 Source/core/editing/StyledMarkupAccumulator.h:58: PassRefPtrWillBeRawPtr<EditingStyle> wrappingStyle() const { return m_wrappingStyle; } ...
4 years, 10 months ago (2015-06-17 04:33:51 UTC) #5
tkent
lgtm
4 years, 10 months ago (2015-06-17 04:41:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181703003/40001
4 years, 10 months ago (2015-06-17 04:42:00 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59186)
4 years, 10 months ago (2015-06-17 05:01:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181703003/60001
4 years, 10 months ago (2015-06-17 06:15:28 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2015-06-17 07:15:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197240

Powered by Google App Engine
This is Rietveld 408576698