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); |
} |