Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 4cdf31e45696f08f0a90c4fc31cc26948c09ff72..cbceaaead79c9c1a2f4efdc80fecae95a729089b 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -641,7 +641,7 @@ void BasicJsonStringifier::SerializeString_(Handle<String> string) { |
} else { |
FlatStringReader reader(isolate_, string); |
for (int i = 0; i < reader.length(); i++) { |
- SrcChar c = static_cast<SrcChar>(reader.Get(i)); |
+ SrcChar c = reader.Get<SrcChar>(i); |
if (DoNotEscape(c)) { |
builder_.Append<SrcChar, DestChar>(c); |
} else { |