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

Issue 1148873009: Refactoring: Remove enum class NodeTraversalMode (Closed)

Created:
4 years, 11 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 enum class NodeTraversalMode NodeTraversalMode is an enum class which has two values and this is currently used like a boolean value. At traversalNodesForSerialization, if and only if this flag is DoNotEmitString, StyledMarkupAccumulator is used. This CL removes this boolean-like enum and uses StyledMarkupAccumulator* to represent the same condition instead. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196646

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -31 lines) Patch
M Source/core/editing/StyledMarkupSerializer.h View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/editing/StyledMarkupSerializer.cpp View 10 chunks +28 lines, -26 lines 3 comments Download

Messages

Total messages: 8 (2 generated)
hajimehoshi
PTAL
4 years, 11 months ago (2015-06-05 10:33:36 UTC) #2
tkent
https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode212 Source/core/editing/StyledMarkupSerializer.cpp:212: Node* StyledMarkupSerializer<Strategy>::traverseNodesForSerialization(Node* startNode, Node* pastEnd, StyledMarkupAccumulator* markupAccumulator) If |markupAccumulator| ...
4 years, 10 months ago (2015-06-07 23:39:02 UTC) #3
yosin_UTC9
https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode212 Source/core/editing/StyledMarkupSerializer.cpp:212: Node* StyledMarkupSerializer<Strategy>::traverseNodesForSerialization(Node* startNode, Node* pastEnd, StyledMarkupAccumulator* markupAccumulator) On 2015/06/07 ...
4 years, 10 months ago (2015-06-08 02:00:05 UTC) #4
tkent
https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp File Source/core/editing/StyledMarkupSerializer.cpp (right): https://codereview.chromium.org/1148873009/diff/1/Source/core/editing/StyledMarkupSerializer.cpp#newcode212 Source/core/editing/StyledMarkupSerializer.cpp:212: Node* StyledMarkupSerializer<Strategy>::traverseNodesForSerialization(Node* startNode, Node* pastEnd, StyledMarkupAccumulator* markupAccumulator) On 2015/06/08 ...
4 years, 10 months ago (2015-06-08 02:03:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148873009/1
4 years, 10 months ago (2015-06-08 02:03:40 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2015-06-08 03:22:51 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196646

Powered by Google App Engine
This is Rietveld 408576698