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

Issue 126273003: Refactor MarkupAccumulator::appendCharactersReplacingEntities() (Closed)

Created:
6 years, 11 months ago by Inactive
Modified:
6 years, 11 months ago
Reviewers:
adamk, abarth-chromium
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Refactor MarkupAccumulator::appendCharactersReplacingEntities() Refactor MarkupAccumulator::appendCharactersReplacingEntities() to: - Use templating to avoid code duplication between the 8bit / 16bit cases - Move EntityDescription struct to MarkupAccumulator.cpp as it is not used outside MarkupAccumulator. - Use CString type for EntityDescription.reference member instead of String as we know the references are 8-bit. This avoid an unnecessary is8Bit() check in StringBuilder::append(const String&). R=abarth BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164651

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add back static variables to make clang happy #

Patch Set 3 : Add back static variables to make clang happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -43 lines) Patch
M Source/core/editing/MarkupAccumulator.h View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/editing/MarkupAccumulator.cpp View 1 2 chunks +33 lines, -37 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Inactive
6 years, 11 months ago (2014-01-07 20:24:20 UTC) #1
abarth-chromium
lgtm
6 years, 11 months ago (2014-01-07 20:30:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/126273003/1
6 years, 11 months ago (2014-01-07 20:36:25 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=16629
6 years, 11 months ago (2014-01-07 21:31:43 UTC) #4
Inactive
https://codereview.chromium.org/126273003/diff/1/Source/core/editing/MarkupAccumulator.cpp File Source/core/editing/MarkupAccumulator.cpp (left): https://codereview.chromium.org/126273003/diff/1/Source/core/editing/MarkupAccumulator.cpp#oldcode51 Source/core/editing/MarkupAccumulator.cpp:51: DEFINE_STATIC_LOCAL(const String, ampReference, ("&")); Based on the clang error ...
6 years, 11 months ago (2014-01-07 22:28:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/126273003/210001
6 years, 11 months ago (2014-01-08 01:16:54 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 02:21:55 UTC) #7
Message was sent while issue was closed.
Change committed as 164651

Powered by Google App Engine
This is Rietveld 408576698