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

Unified Diff: third_party/WebKit/Source/core/svg/SVGParsingError.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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/svg/SVGParsingError.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
index e215d85953479fb9c676f5f5cafe01a2927ce3f6..79215882d288bd36ca964a85b8fb6cb2207693a0 100644
--- a/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGParsingError.cpp
@@ -79,7 +79,7 @@ void appendValue(StringBuilder& builder, SVGParsingError error, const AtomicStri
{
builder.append('"');
if (!error.hasLocus() || disableLocus(error.status())) {
- escapeStringForJSON(value.string(), &builder);
+ escapeStringForJSON(value.getString(), &builder);
} else {
// Emit a string on the form: '"[...]<before><after>[...]"'
unsigned locus = error.locus();
@@ -94,7 +94,7 @@ void appendValue(StringBuilder& builder, SVGParsingError error, const AtomicStri
ASSERT(contextEnd <= value.length());
if (contextStart != 0)
builder.append(horizontalEllipsisCharacter);
- escapeStringForJSON(value.string().substring(contextStart, contextEnd - contextStart), &builder);
+ escapeStringForJSON(value.getString().substring(contextStart, contextEnd - contextStart), &builder);
if (contextEnd != value.length())
builder.append(horizontalEllipsisCharacter);
}
« no previous file with comments | « third_party/WebKit/Source/core/page/PrintContext.cpp ('k') | third_party/WebKit/Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698