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

Unified Diff: Source/core/editing/markup.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/TextIterator.cpp ('k') | Source/core/html/BaseCheckableInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 7ab4a6f203f9fb0e0baaa01f022bc00112be8bd5..a716b90a23cc527571fbefffcd6f9ff6ee1f246f 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -193,8 +193,8 @@ void StyledMarkupAccumulator::appendStyleNodeOpenTag(StringBuilder& out, StylePr
const String& StyledMarkupAccumulator::styleNodeCloseTag(bool isBlock)
{
- DEFINE_STATIC_LOCAL(const String, divClose, (ASCIILiteral("</div>")));
- DEFINE_STATIC_LOCAL(const String, styleSpanClose, (ASCIILiteral("</span>")));
+ DEFINE_STATIC_LOCAL(const String, divClose, ("</div>"));
+ DEFINE_STATIC_LOCAL(const String, styleSpanClose, ("</span>"));
return isBlock ? divClose : styleSpanClose;
}
@@ -547,7 +547,7 @@ static String createMarkupInternal(Document* document, const Range* range, const
ASSERT(document);
ASSERT(range);
ASSERT(updatedRange);
- DEFINE_STATIC_LOCAL(const String, interchangeNewlineString, (ASCIILiteral("<br class=\"" AppleInterchangeNewline "\">")));
+ DEFINE_STATIC_LOCAL(const String, interchangeNewlineString, ("<br class=\"" AppleInterchangeNewline "\">"));
bool collapsed = updatedRange->collapsed(ASSERT_NO_EXCEPTION);
if (collapsed)
« no previous file with comments | « Source/core/editing/TextIterator.cpp ('k') | Source/core/html/BaseCheckableInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698