DescriptionRefactoring: Remove the first parameter |result| from StyledMarkupAccumulator::appendStartMarkup
StyledMarkupAccumulator::appendStartMarkup's first parameter |result| is
|m_result| in most cases. This CL removes this to improve code readability.
The case when the parameter is NOT |m_result| is at
StyledMarkupSerializer::wrapWithNode. In this case, |node| must be a
Document or a DocumentFragment. This CL extracts the code in
MarkupFormatter for this case at the caller.
BUG=499681
TEST=n/a; no behavior change
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197026
Patch Set 1 #Patch Set 2 : Remove unneeded code #Patch Set 3 : Bug fix: miss to call pushMarkup #
Total comments: 6
Patch Set 4 : yosin's review #
Messages
Total messages: 8 (2 generated)
|
|||||||||||||||||||||||||||||||||||||