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

Issue 1180653005: Refactoring: Remove addDisplayInline parameter of createInlineStyle (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 addDisplayInline parameter of createInlineStyle This CL removes |addDisplayInline| parameter of createInlineStyle by extracting the code when |addDisplayInline| is true at the callers. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196924

Patch Set 1 : #

Total comments: 2

Patch Set 2 : tkent's review #

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

Messages

Total messages: 10 (4 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-11 06:39:02 UTC) #3
yosin_UTC9
tkent@, Could you review this patch? Since, this is result of pair programming with hajimehoshi@ ...
4 years, 10 months ago (2015-06-11 06:44:39 UTC) #4
tkent
lgtm https://codereview.chromium.org/1180653005/diff/20001/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1180653005/diff/20001/Source/core/editing/StyledMarkupAccumulator.cpp#newcode158 Source/core/editing/StyledMarkupAccumulator.cpp:158: if (!element.isHTMLElement()) nit: if (element.isHTMLElement() && shouldAnnotate()) inlineStyle->mergeStyleHogeHoge... ...
4 years, 10 months ago (2015-06-11 06:55:11 UTC) #5
hajimehoshi
Thank you! https://codereview.chromium.org/1180653005/diff/20001/Source/core/editing/StyledMarkupAccumulator.cpp File Source/core/editing/StyledMarkupAccumulator.cpp (right): https://codereview.chromium.org/1180653005/diff/20001/Source/core/editing/StyledMarkupAccumulator.cpp#newcode158 Source/core/editing/StyledMarkupAccumulator.cpp:158: if (!element.isHTMLElement()) On 2015/06/11 06:55:11, tkent wrote: ...
4 years, 10 months ago (2015-06-11 07:03:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1180653005/40001
4 years, 10 months ago (2015-06-11 07:03:43 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2015-06-11 08:09:35 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196924

Powered by Google App Engine
This is Rietveld 408576698