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

Issue 1181953004: Refactoring: Separate StyledMarkupAccumulator::appendText into this and appendTextWithInlineStyle (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: Separate StyledMarkupAccumulator::appendText into this and appendTextWithInlineStyle This CL split the funciton into two functions (whether the node's parent is TEXTAREA or not) to improve code readability. This CL is a split of https://codereview.chromium.org/1177323005/. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197166

Patch Set 1 #

Total comments: 3

Patch Set 2 : yosin's review #

Patch Set 3 : Rename appendTextWithWrappingStyle -> appendTextWithInlineStyle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -18 lines) Patch
M Source/core/editing/StyledMarkupAccumulator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/StyledMarkupAccumulator.cpp View 1 2 2 chunks +26 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-12 10:46:16 UTC) #2
yosin_UTC9
https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#newcode126 Source/core/editing/StyledMarkupAccumulator.cpp:126: const bool parentIsTextarea = text.parentElement() && text.parentElement()->tagQName() == textareaTag; ...
4 years, 10 months ago (2015-06-12 11:49:30 UTC) #3
yosin_UTC9
https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#newcode99 Source/core/editing/StyledMarkupAccumulator.cpp:99: if (text.parentElement() && text.parentElement()->tagQName() == textareaTag) { Just FYI, ...
4 years, 10 months ago (2015-06-12 12:05:17 UTC) #4
hajimehoshi
Thanks! https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1181953004/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#newcode126 Source/core/editing/StyledMarkupAccumulator.cpp:126: const bool parentIsTextarea = text.parentElement() && text.parentElement()->tagQName() == ...
4 years, 10 months ago (2015-06-16 06:32:06 UTC) #5
yosin_UTC9
lgtm
4 years, 10 months ago (2015-06-16 07:28:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181953004/40001
4 years, 10 months ago (2015-06-16 07:28:15 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2015-06-16 09:58:22 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197166

Powered by Google App Engine
This is Rietveld 408576698