| Index: Source/core/editing/MarkupAccumulator.cpp
|
| diff --git a/Source/core/editing/MarkupAccumulator.cpp b/Source/core/editing/MarkupAccumulator.cpp
|
| index 7cb1d56f4e9fb529708dff0525885142ca3afcbd..cd5b7cf853720b2aae48ae7752776f50b440080a 100644
|
| --- a/Source/core/editing/MarkupAccumulator.cpp
|
| +++ b/Source/core/editing/MarkupAccumulator.cpp
|
| @@ -48,11 +48,11 @@ using namespace HTMLNames;
|
|
|
| void MarkupAccumulator::appendCharactersReplacingEntities(StringBuilder& result, const String& source, unsigned offset, unsigned length, EntityMask entityMask)
|
| {
|
| - DEFINE_STATIC_LOCAL(const String, ampReference, (ASCIILiteral("&")));
|
| - DEFINE_STATIC_LOCAL(const String, ltReference, (ASCIILiteral("<")));
|
| - DEFINE_STATIC_LOCAL(const String, gtReference, (ASCIILiteral(">")));
|
| - DEFINE_STATIC_LOCAL(const String, quotReference, (ASCIILiteral(""")));
|
| - DEFINE_STATIC_LOCAL(const String, nbspReference, (ASCIILiteral(" ")));
|
| + DEFINE_STATIC_LOCAL(const String, ampReference, ("&"));
|
| + DEFINE_STATIC_LOCAL(const String, ltReference, ("<"));
|
| + DEFINE_STATIC_LOCAL(const String, gtReference, (">"));
|
| + DEFINE_STATIC_LOCAL(const String, quotReference, ("""));
|
| + DEFINE_STATIC_LOCAL(const String, nbspReference, (" "));
|
|
|
| static const EntityDescription entityMaps[] = {
|
| { '&', ampReference, EntityAmp },
|
| @@ -256,7 +256,7 @@ bool MarkupAccumulator::shouldAddNamespaceElement(const Element* element)
|
| if (prefix.isEmpty())
|
| return !element->hasAttribute(xmlnsAtom);
|
|
|
| - DEFINE_STATIC_LOCAL(String, xmlnsWithColon, (ASCIILiteral("xmlns:")));
|
| + DEFINE_STATIC_LOCAL(String, xmlnsWithColon, ("xmlns:"));
|
| return !element->hasAttribute(xmlnsWithColon + prefix);
|
| }
|
|
|
|
|