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

Unified Diff: third_party/WebKit/Source/core/dom/Range.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/SandboxFlags.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index 110cb2d8d80e15c59617dbf1e5c0453eea00b26f..7c47b01fa57265ec35fd980076810dac13dbd223 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1313,14 +1313,14 @@ void Range::formatForDebugger(char* buffer, unsigned length) const
const int FormatBufferSize = 1024;
char s[FormatBufferSize];
- result.appendLiteral("from offset ");
+ result.append("from offset ");
result.appendNumber(m_start.offset());
- result.appendLiteral(" of ");
+ result.append(" of ");
m_start.container()->formatForDebugger(s, FormatBufferSize);
result.append(s);
- result.appendLiteral(" to offset ");
+ result.append(" to offset ");
result.appendNumber(m_end.offset());
- result.appendLiteral(" of ");
+ result.append(" of ");
m_end.container()->formatForDebugger(s, FormatBufferSize);
result.append(s);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/SandboxFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698