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

Issue 1174873002: Refactoring: Remove StyledMarkupAccumulator::appendString and add appendNewLine (Closed)

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

Description

Refactoring: Remove StyledMarkupAccumulator::appendString and add appendNewLine appendString is more generic than necessary. This CL replaces it with appendNewLine. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196855

Patch Set 1 #

Total comments: 4

Patch Set 2 : yosin's review #

Patch Set 3 : yosin's review #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -13 lines) Patch
M Source/core/editing/StyledMarkupAccumulator.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/StyledMarkupAccumulator.cpp View 1 2 3 3 chunks +7 lines, -6 lines 0 comments Download
M Source/core/editing/StyledMarkupSerializer.cpp View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-10 07:01:18 UTC) #2
yosin_UTC9
I think appendInterchangeNewline() is better name since - use |interchangeNewlineString| in other places. - term ...
4 years, 10 months ago (2015-06-10 07:06:33 UTC) #3
hajimehoshi
Thanks! https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#newcode266 Source/core/editing/StyledMarkupAccumulator.cpp:266: void StyledMarkupAccumulator::appendNewLine() On 2015/06/10 07:06:33, Yosi_UTC9 wrote: > ...
4 years, 10 months ago (2015-06-10 07:16:30 UTC) #4
yosin_UTC9
https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode133 Source/core/editing/StyledMarkupSerializer.cpp:133: markupAccumulator.appendNewLine(); If we move this before L130 and change ...
4 years, 10 months ago (2015-06-10 07:17:32 UTC) #5
hajimehoshi
https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1174873002/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode133 Source/core/editing/StyledMarkupSerializer.cpp:133: markupAccumulator.appendNewLine(); On 2015/06/10 07:17:32, Yosi_UTC9 wrote: > If we ...
4 years, 10 months ago (2015-06-10 07:28:31 UTC) #6
yosin_UTC9
lgtm
4 years, 10 months ago (2015-06-10 07:47:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1174873002/60001
4 years, 10 months ago (2015-06-10 07:47:58 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2015-06-10 10:15:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196855

Powered by Google App Engine
This is Rietveld 408576698