Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index c9f152f9daccb94f48058c8d709362be25e0de9f..0107fce945f264b630d520f706d2381de005f8ef 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( |