Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Issue 1133243008: Refactoring: Remove StyledMarkupAccumulator::shouldAnnotate* methods (Closed)

Created:
5 years, 7 months ago by hajimehoshi
Modified:
5 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Refactoring: Remove StyledMarkupAccumulator::shouldAnnotate* methods StyledMarkupAccumulator::shouldAnnotate* is used almost only at StyledMarkupSerializer. This CL replaces these methods calling with simple equations. BUG=n/a TEST=n/a; no behavior change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195461

Patch Set 1 #

Total comments: 2

Patch Set 2 : yosin's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M Source/core/editing/StyledMarkupAccumulator.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/editing/StyledMarkupAccumulator.cpp View 1 1 chunk +5 lines, -0 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 5 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
hajimehoshi
PTAL
5 years, 7 months ago (2015-05-18 08:30:37 UTC) #2
yosin_UTC9
lgtm w/ nit https://codereview.chromium.org/1133243008/diff/1/Source/core/editing/StyledMarkupAccumulator.h File Source/core/editing/StyledMarkupAccumulator.h (right): https://codereview.chromium.org/1133243008/diff/1/Source/core/editing/StyledMarkupAccumulator.h#newcode95 Source/core/editing/StyledMarkupAccumulator.h:95: bool shouldAnnotate() const { return m_shouldAnnotate ...
5 years, 7 months ago (2015-05-18 08:49:35 UTC) #3
hajimehoshi
Thanks! https://codereview.chromium.org/1133243008/diff/1/Source/core/editing/StyledMarkupAccumulator.h File Source/core/editing/StyledMarkupAccumulator.h (right): https://codereview.chromium.org/1133243008/diff/1/Source/core/editing/StyledMarkupAccumulator.h#newcode95 Source/core/editing/StyledMarkupAccumulator.h:95: bool shouldAnnotate() const { return m_shouldAnnotate == AnnotateForInterchange ...
5 years, 7 months ago (2015-05-18 09:46:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1133243008/20001
5 years, 7 months ago (2015-05-18 09:48:26 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:11:06 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195461

Powered by Google App Engine
This is Rietveld 408576698