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

Issue 1164253002: Refactoring: Remove boolean paramters from StyledMarkupAccumulator (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: Remove boolean paramters from StyledMarkupAccumulator It seems like that StyledMarkupAccumulator::wrapWithStyleNode's boolean parameter is always true for all the current usages. This CL removes this parameter. This CL also removes appendStyleNodeOpenTag, that also uses a boolean parameter, and inline-expanded the content to the callers. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196660

Patch Set 1 #

Total comments: 6

Patch Set 2 : tkent's review #

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

Messages

Total messages: 8 (2 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-08 07:40:35 UTC) #2
tkent
https://codereview.chromium.org/1164253002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (left): https://codereview.chromium.org/1164253002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#oldcode202 Source/core/editing/StyledMarkupAccumulator.cpp:202: ASSERT(propertyMissingOrEqualToNone(style, CSSPropertyWebkitTextDecorationsInEffect)); The assertion is removed. Is it intentional? ...
4 years, 10 months ago (2015-06-08 07:49:56 UTC) #3
hajimehoshi
Thank you! https://codereview.chromium.org/1164253002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (left): https://codereview.chromium.org/1164253002/diff/1/Source/core/editing/StyledMarkupAccumulator.cpp#oldcode202 Source/core/editing/StyledMarkupAccumulator.cpp:202: ASSERT(propertyMissingOrEqualToNone(style, CSSPropertyWebkitTextDecorationsInEffect)); On 2015/06/08 07:49:56, tkent wrote: ...
4 years, 10 months ago (2015-06-08 07:56:56 UTC) #4
tkent
lgtm
4 years, 10 months ago (2015-06-08 08:08:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164253002/20001
4 years, 10 months ago (2015-06-08 08:08:27 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2015-06-08 09:31:40 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196660

Powered by Google App Engine
This is Rietveld 408576698