Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 7da24c3826937d3a8670fc05f16132688c83fed5..bf4fa4e57ca83e5274c49398a1d662255016f4b4 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -6444,7 +6444,7 @@ MUST_USE_RESULT static MaybeObject* ConvertCase( |
} |
} |
- String::Encoding result_encoding = s->IsOneByteRepresentationUnderneath() |
+ String::Encoding result_encoding = s->IsOneByteRepresentation() |
? String::ONE_BYTE_ENCODING : String::TWO_BYTE_ENCODING; |
Object* answer; |
{ MaybeObject* maybe_answer = ConvertCaseHelper( |