DescriptionRefactor 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 #
Messages
Total messages: 7 (0 generated)
|