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

Unified Diff: third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp

Issue 2017053003: Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 7 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
Index: third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
diff --git a/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp b/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
index 57546a57c5e129b96633b563cdf45c4ca3cb80f1..4193e77107384b72ebe48680e8d2fef32cedd228 100644
--- a/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
+++ b/third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp
@@ -125,7 +125,7 @@ static bool isValidPropertyName(const String& name)
static AtomicString convertPropertyNameToAttributeName(const String& name)
{
StringBuilder builder;
- builder.appendLiteral("data-");
+ builder.append("data-");
unsigned length = name.length();
for (unsigned i = 0; i < length; ++i) {
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParser.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698