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

Unified Diff: Source/core/dom/Document.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/dom/DOMException.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index d4cada873fd79db991be809ab741937cbd2e69d6..6b1ae9167e11b1863d50bffd77f7655a84452a86 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1058,9 +1058,9 @@ PassRefPtr<Element> Document::createElementNS(const String& namespaceURI, const
String Document::readyState() const
{
- DEFINE_STATIC_LOCAL(const String, loading, (ASCIILiteral("loading")));
- DEFINE_STATIC_LOCAL(const String, interactive, (ASCIILiteral("interactive")));
- DEFINE_STATIC_LOCAL(const String, complete, (ASCIILiteral("complete")));
+ DEFINE_STATIC_LOCAL(const String, loading, ("loading"));
+ DEFINE_STATIC_LOCAL(const String, interactive, ("interactive"));
+ DEFINE_STATIC_LOCAL(const String, complete, ("complete"));
switch (m_readyState) {
case Loading:
« no previous file with comments | « Source/core/dom/DOMException.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698