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

Unified Diff: third_party/WebKit/Source/platform/PODInterval.h

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/platform/PODInterval.h
diff --git a/third_party/WebKit/Source/platform/PODInterval.h b/third_party/WebKit/Source/platform/PODInterval.h
index 68307e2759d65448f13fcdaba3ac78708444a642..ee554c7c051c539edbf38c12c2d774ffead1cddc 100644
--- a/third_party/WebKit/Source/platform/PODInterval.h
+++ b/third_party/WebKit/Source/platform/PODInterval.h
@@ -142,13 +142,13 @@ public:
String toString() const
{
StringBuilder builder;
- builder.appendLiteral("[PODInterval (");
+ builder.append("[PODInterval (");
builder.append(ValueToString<T>::toString(low()));
- builder.appendLiteral(", ");
+ builder.append(", ");
builder.append(ValueToString<T>::toString(high()));
- builder.appendLiteral("), data=");
+ builder.append("), data=");
builder.append(ValueToString<UserData>::toString(data()));
- builder.appendLiteral(", maxHigh=");
+ builder.append(", maxHigh=");
builder.append(ValueToString<T>::toString(maxHigh()));
builder.append(']');
return builder.toString();
« no previous file with comments | « third_party/WebKit/Source/platform/JSONValues.cpp ('k') | third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698